tests/test-revset.t
changeset 25902 5214cbdc37e5
parent 25901 0203c50a589f
child 25998 a7527c5769bb
--- a/tests/test-revset.t	Sat Jul 18 23:02:18 2015 +0900
+++ b/tests/test-revset.t	Sat Jul 18 23:30:17 2015 +0900
@@ -201,13 +201,49 @@
 names that should be caught by fallback mechanism
 
   $ try -- '-a-b-c-'
-  (negate
-    ('symbol', 'a-b-c-'))
+  ('symbol', '-a-b-c-')
   * set:
   <baseset [4]>
   4
   $ log -a-b-c-
   4
+  $ try '+a+b+c+'
+  ('symbol', '+a+b+c+')
+  * set:
+  <baseset [3]>
+  3
+  $ try '+a+b+c+:'
+  (rangepost
+    ('symbol', '+a+b+c+'))
+  * set:
+  <spanset+ 3:9>
+  3
+  4
+  5
+  6
+  7
+  8
+  9
+  $ try ':+a+b+c+'
+  (rangepre
+    ('symbol', '+a+b+c+'))
+  * set:
+  <spanset+ 0:3>
+  0
+  1
+  2
+  3
+  $ try -- '-a-b-c-:+a+b+c+'
+  (range
+    ('symbol', '-a-b-c-')
+    ('symbol', '+a+b+c+'))
+  * set:
+  <spanset- 3:4>
+  4
+  3
+  $ log '-a-b-c-:+a+b+c+'
+  4
+  3
 
   $ try -- -a-b-c--a # complains
   (minus