monotone

monotone Commit Details

Date:2012-02-13 19:22:12 (4 years 2 months ago)
Author:Richard Hopkins
Branch:net.venge.monotone.not-selector
Commit:e56619f398f32fdca6068d369cde95e1d3add396
Parents: cbbe6a548dd5d565dfd0601ba1df320a613d3dc6
Message:Add more logic tests for 'not' extended selector

Changes:
Mtest/func/extended-selectors/__driver__.lua (1 diff)

File differences

test/func/extended-selectors/__driver__.lua
7979
8080
8181
82
83
84
85
86
87
8288
8389
8490
expect("b:testbranch/b:otherbranch", lhs)
expect("b:testbranch|b:otherbranch", root, lhs, rhs, m, other, other_2)
-- now do same tests again with a double not - should get same results
expect("not(not(b:testbranch))", root, lhs, rhs, m)
expect("not(not(b:otherbranch))", lhs, other, other_2)
expect("not(not(b:testbranch/b:otherbranch))", lhs)
expect("not(not(b:testbranch|b:otherbranch))", root, lhs, rhs, m, other, other_2)
expect("not(b:otherbranch)", root, rhs, m)
expect("not(b:testbranch)", other, other_2)
expect("not(h:testbranch)", root, lhs, rhs, other, other_2)

Archive Download the corresponding diff file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status