summaryrefslogtreecommitdiffstats
path: root/tests/parseOld.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parseOld.test')
-rw-r--r--tests/parseOld.test9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/parseOld.test b/tests/parseOld.test
index 27978e2..132481c 100644
--- a/tests/parseOld.test
+++ b/tests/parseOld.test
@@ -18,8 +18,7 @@ if {[lsearch [namespace children] ::tcltest] == -1} {
namespace import -force ::tcltest::*
}
-tcltest::testConstraint testwordend \
- [string equal "testwordend" [info commands testwordend]]
+testConstraint testwordend [llength [info commands testwordend]]
# Save the argv value for restoration later
set savedArgv $argv
@@ -351,7 +350,7 @@ test parseOld-10.13 {syntax errors} {
# since MetroWerks may some day fix this.
test parseOld-10.14 {syntax errors} {
- list [catch {eval \$x[format "%01000d" 0](} msg] $msg $errorInfo
+ list [catch {eval \$x[format "%01000d" 0](} msg] $msg $::errorInfo
} {1 {missing )} {missing )
while executing
"$x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000..."
@@ -466,7 +465,7 @@ test parseOld-14.3 {TclWordEnd procedure} {testwordend} {
test parseOld-14.4 {TclWordEnd procedure} {testwordend} {
testwordend {"abc"}
} {"}
-#" Emacs formatting >:^(
+#" Emacs formatting :^(
test parseOld-14.5 {TclWordEnd procedure} {testwordend} {
testwordend {{xyz}}
} \}
@@ -512,7 +511,7 @@ test parseOld-14.18 {TclWordEnd procedure} {testwordend} {
test parseOld-14.19 {TclWordEnd procedure} {testwordend} {
testwordend \"a\000\"
} {"}
-#" Emacs formatting >:^(
+#" Emacs formatting :^(
test parseOld-14.20 {TclWordEnd procedure} {testwordend} {
testwordend a{\000}b
} {b}