diff tests/test-revset.t @ 16447:60c379da12aa

tests: add tests for matching keyword This adds a couple of tests for the revset "matching" keyword: 1. Test that the 2nd parameter is optional 2. Test that all the 1st argument can be a revset and that all the supported fields of the 2nd argument work.
author Angel Ezquerra <angel.ezquerra@gmail.com>
date Sun, 15 Apr 2012 00:27:31 +0200
parents a232a1b5ae9b
children 592701c8eac6
line wrap: on
line diff
--- a/tests/test-revset.t	Sat Apr 14 01:41:03 2012 +0200
+++ b/tests/test-revset.t	Sun Apr 15 00:27:31 2012 +0200
@@ -292,6 +292,11 @@
   6
   $ log 'limit(head(), 1)'
   0
+  $ log 'matching(6)'
+  6
+  $ log 'matching(6:7, "phase parents user date branch summary files description substate")'
+  6
+  7
   $ log 'max(contains(a))'
   5
   $ log 'min(contains(a))'