# HG changeset patch # User Lucas Moscovicz # Date 2014-03-12 00:25:53 # Node ID b0203624ab2088f164a02fad2ba6b7362d046723 # Parent 2115e035da11092d5a276caa7b65606e38dd59f1 revset: extend sorting tests diff --git a/tests/test-revset.t b/tests/test-revset.t --- a/tests/test-revset.t +++ b/tests/test-revset.t @@ -483,7 +483,6 @@ test when sorting a reversed collection 1 0 - test when sorting a reversed collection $ log 'sort(reverse(all()), rev)' @@ -515,6 +514,20 @@ test sorting two sorted collections in d 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