diff tests/test-fileset.t @ 38826:6371ab78c3b3

fileset: add phase to transform parsed tree This isn't strictly necessary, but I decided to just follow the strategy of the revset parsing.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 21 Jul 2018 16:11:36 +0900
parents 4fe8d1f077b8
children 48fc2a8af345
line wrap: on
line diff
--- a/tests/test-fileset.t	Fri Aug 03 11:40:15 2018 -0400
+++ b/tests/test-fileset.t	Sat Jul 21 16:11:36 2018 +0900
@@ -169,6 +169,18 @@
         (func
           (symbol 'clean')
           None))))
+  * analyzed:
+  (or
+    (symbol 'a1')
+    (symbol 'a2')
+    (group
+      (and
+        (func
+          (symbol 'grep')
+          (string 'b'))
+        (func
+          (symbol 'clean')
+          None))))
   * matcher:
   <unionmatcher matchers=[
     <patternmatcher patterns='(?:a1$)'>,