diff options
Diffstat (limited to 'tests/while-old.test')
-rw-r--r-- | tests/while-old.test | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/while-old.test b/tests/while-old.test index a62bcb1..ee17d0b 100644 --- a/tests/while-old.test +++ b/tests/while-old.test @@ -12,8 +12,6 @@ # # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. -# -# RCS: @(#) $Id: while-old.test,v 1.7 2004/05/19 13:06:15 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -103,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""}} |