diff options
Diffstat (limited to 'tests/var.test')
-rw-r--r-- | tests/var.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/var.test b/tests/var.test index df9d553..b3fc475 100644 --- a/tests/var.test +++ b/tests/var.test @@ -14,7 +14,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: var.test,v 1.26 2004/09/30 23:06:49 dgp Exp $ +# RCS: @(#) $Id: var.test,v 1.27 2006/10/09 19:15:45 msofer Exp $ # if {[lsearch [namespace children] ::tcltest] == -1} { @@ -696,10 +696,10 @@ test var-15.1 {segfault in [unset], [Bug 735335]} { test var-16.1 {CallVarTraces: save/restore interp error state} { - trace add variable errorCode write { ;#} + trace add variable ::errorCode write { ;#} catch {error foo bar baz} - trace remove variable errorCode write { ;#} - set errorInfo + trace remove variable ::errorCode write { ;#} + set ::errorInfo } bar catch {namespace delete ns} |