summaryrefslogtreecommitdiffstats
path: root/tests/while.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-11-16 19:17:21 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-11-16 19:17:21 (GMT)
commitfd1f9d484eb12a94ef0005b475a12aa3429cfce5 (patch)
treeb53fde11422fed477ec07ef2e2a982075c11b963 /tests/while.test
parentb3a59469e023419e5a31fd41ed99714272b3819d (diff)
downloadtcl-fd1f9d484eb12a94ef0005b475a12aa3429cfce5.zip
tcl-fd1f9d484eb12a94ef0005b475a12aa3429cfce5.tar.gz
tcl-fd1f9d484eb12a94ef0005b475a12aa3429cfce5.tar.bz2
Burn the octal bridges. We're not goin' back.
Diffstat (limited to 'tests/while.test')
-rw-r--r--tests/while.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/while.test b/tests/while.test
index 642ec93..c25b404 100644
--- a/tests/while.test
+++ b/tests/while.test
@@ -32,7 +32,7 @@ test while-1.2 {TclCompileWhileCmd: error in test expression} -body {
} -match glob -result {*"while {$i<} break"}
test while-1.3 {TclCompileWhileCmd: error in test expression} -body {
while {"a"+"b"} {error "loop aborted"}
-} -returnCodes error -result {can't use non-numeric string as operand of "+"}
+} -returnCodes error -result {can't use non-numeric string "a" as operand of "+"}
test while-1.4 {TclCompileWhileCmd: multiline test expr} -body {
set value 1
while {($tcl_platform(platform) != "foobar1") && \
@@ -343,7 +343,7 @@ test while-4.3 {while (not compiled): error in test expression} -body {
test while-4.4 {while (not compiled): error in test expression} -body {
set z while
$z {"a"+"b"} {error "loop aborted"}
-} -returnCodes error -result {can't use non-numeric string as operand of "+"}
+} -returnCodes error -result {can't use non-numeric string "a" as operand of "+"}
test while-4.5 {while (not compiled): multiline test expr} -body {
set value 1
set z while