summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-07-23 14:45:19 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-07-23 14:45:19 (GMT)
commitd32b28ac5c720a5f044794db6d7f12ec2c5c9760 (patch)
tree2071274265328d0ebeb4ce223b54ac60d1074efc
parent924deead57888263d8b7e7593484554ce319ba79 (diff)
downloadtcl-d32b28ac5c720a5f044794db6d7f12ec2c5c9760.zip
tcl-d32b28ac5c720a5f044794db6d7f12ec2c5c9760.tar.gz
tcl-d32b28ac5c720a5f044794db6d7f12ec2c5c9760.tar.bz2
use backslash and braces in regexp
-rw-r--r--tests/winFCmd.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/winFCmd.test b/tests/winFCmd.test
index 4e816a8..ef1c4e7 100644
--- a/tests/winFCmd.test
+++ b/tests/winFCmd.test
@@ -711,7 +711,7 @@ test winFCmd-7.14 {TraverseWinTree: append \ to target if necessary} -constraint
cleanup
file mkdir td1
list [catch {testfile cpdir td1 /} msg] $msg
-} -match regexp -result {1 {/ EEXIST|EACCES}}
+} -match regexp -result {1 \{/ (EEXIST|EACCES)\}}
test winFCmd-7.16 {TraverseWinTree: recurse on files: no files} {win testfile} {
cleanup
file mkdir td1