aboutsummaryrefslogtreecommitdiff
path: root/tests/name/pattern.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/name/pattern.testscript')
-rw-r--r--tests/name/pattern.testscript12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/name/pattern.testscript b/tests/name/pattern.testscript
index 68c6745..ac8ee10 100644
--- a/tests/name/pattern.testscript
+++ b/tests/name/pattern.testscript
@@ -129,7 +129,17 @@ EOI
$* <'print {*.txt -f*.txt +*x.txt}' >'fox.txt' : include-exclude-order
touch foo.txt;
- $* <'print {+foo.txt} {+bar.txt}' >'foo.txt' : non-wildcard
+ $* <'print {+foo.txt} {+bar.txt}' >'foo.txt' : non-wildcard
+}
+
+: escaping
+:
+{
+ touch foo.txt;
+ $* <'print \[fgh]oo.txt' >'foo.txt' : bracket
+
+ touch true1.txt;
+ $* <'print (true\?.txt') >'true1.txt' : question
}
: target-type