tests/test-revset.t
changeset 25105 2f34746c27df
parent 25102 bb2f543b48b5
child 25129 40a2cf1c765b
--- a/tests/test-revset.t	Tue Apr 14 16:23:54 2015 -0400
+++ b/tests/test-revset.t	Fri May 15 22:38:24 2015 +0900
@@ -615,6 +615,24 @@
   <baseset+ [8, 9]>
   8
   9
+  $ try --optimize '(9)%(5)'
+  (only
+    (group
+      ('symbol', '9'))
+    (group
+      ('symbol', '5')))
+  * optimized:
+  (func
+    ('symbol', 'only')
+    (list
+      ('symbol', '9')
+      ('symbol', '5')))
+  * set:
+  <baseset+ [8, 9, 2, 4]>
+  2
+  4
+  8
+  9
 
 Test the order of operations