tests/test-revset.t
changeset 20736 b0203624ab20
parent 20717 da3124178fbb
child 20781 8ecfa225bd16
--- a/tests/test-revset.t	Fri Mar 14 13:12:45 2014 -0500
+++ b/tests/test-revset.t	Tue Mar 11 17:25:53 2014 -0700
@@ -483,7 +483,6 @@
   1
   0
 
-
 test when sorting a reversed collection
 
   $ log 'sort(reverse(all()), rev)'
@@ -515,6 +514,20 @@
   6
   2
 
+test substracting something from an addset
+
+  $ log '(outgoing() or removes(a)) - removes(a)'
+  8
+  9
+
+test intersecting something with an addset
+
+  $ log 'parents(outgoing() or removes(a))'
+  1
+  4
+  5
+  8
+
 check that conversion to _missingancestors works
   $ try --optimize '::3 - ::1'
   (minus