summaryrefslogtreecommitdiffstats
path: root/tests/while-old.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/while-old.test')
-rw-r--r--tests/while-old.test14
1 files changed, 1 insertions, 13 deletions
diff --git a/tests/while-old.test b/tests/while-old.test
index 980b9d4..ee17d0b 100644
--- a/tests/while-old.test
+++ b/tests/while-old.test
@@ -101,7 +101,7 @@ test while-old-4.5 {errors in while loops} {
} {1 {expected boolean value but got "foo"}}
test while-old-4.6 {errors in while loops} {
set err [catch {while {1} {error "loop aborted"}} msg]
- list $err $msg $errorInfo
+ list $err $msg $::errorInfo
} {1 {loop aborted} {loop aborted
while executing
"error "loop aborted""}}
@@ -117,15 +117,3 @@ test while-old-5.2 {while return result} {
# cleanup
::tcltest::cleanupTests
return
-
-
-
-
-
-
-
-
-
-
-
-