summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-23 14:45:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-23 14:45:19 (GMT)
commit28d0e97048a0a5b72d187f1effaca560640d69e3 (patch)
tree2071274265328d0ebeb4ce223b54ac60d1074efc
parent19783d89c658745b7ae9c7bf9cfe5073233c7165 (diff)
downloadtcl-28d0e97048a0a5b72d187f1effaca560640d69e3.zip
tcl-28d0e97048a0a5b72d187f1effaca560640d69e3.tar.gz
tcl-28d0e97048a0a5b72d187f1effaca560640d69e3.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