summaryrefslogtreecommitdiffstats
path: root/tests/fCmd.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-30 07:11:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-30 07:11:18 (GMT)
commit1f1f43fcd2bfa68c8bff1a9d6dbb8ecab4be43e7 (patch)
tree35749cc38881de41be58b2c55c3e82de9cdc342c /tests/fCmd.test
parentc8617b374b29d14c8be0900f1623ca3120468b62 (diff)
downloadtcl-1f1f43fcd2bfa68c8bff1a9d6dbb8ecab4be43e7.zip
tcl-1f1f43fcd2bfa68c8bff1a9d6dbb8ecab4be43e7.tar.gz
tcl-1f1f43fcd2bfa68c8bff1a9d6dbb8ecab4be43e7.tar.bz2
Thanks to TIP #587, convert many escapes in the testcases into the actual (UTF-8) character.
Diffstat (limited to 'tests/fCmd.test')
-rw-r--r--tests/fCmd.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fCmd.test b/tests/fCmd.test
index 6a909f8..d1d1930 100644
--- a/tests/fCmd.test
+++ b/tests/fCmd.test
@@ -271,7 +271,7 @@ test fCmd-3.14 {FileCopyRename: FileBasename fails} -setup {
file mkdir td1
file rename ~_totally_bogus_user td1
} -result {user "_totally_bogus_user" doesn't exist}
-test fCmd-3.15 {FileCopyRename: source[0] == '\0'} -setup {
+test fCmd-3.15 {FileCopyRename: source[0] == '\x00'} -setup {
cleanup
} -constraints {notRoot unixOrWin} -returnCodes error -body {
file mkdir td1
@@ -313,7 +313,7 @@ test fCmd-4.4 {TclFileMakeDirsCmd: Tcl_TranslateFileName fails} -setup {
} -constraints {notRoot} -returnCodes error -body {
file mkdir ~_totally_bogus_user
} -result {user "_totally_bogus_user" doesn't exist}
-test fCmd-4.5 {TclFileMakeDirsCmd: Tcl_SplitPath returns 0: *name == '\0'} -setup {
+test fCmd-4.5 {TclFileMakeDirsCmd: Tcl_SplitPath returns 0: *name == '\x00'} -setup {
cleanup
} -constraints {notRoot} -returnCodes error -body {
file mkdir ""