diff options
author | dgp <dgp@users.sourceforge.net> | 2008-03-14 17:43:25 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2008-03-14 17:43:25 (GMT) |
commit | 50bb2f9aeb42d763d30333fbb8e053d9a5dc72e8 (patch) | |
tree | 733939b35f19b3f1f45d6278b943adcf9bb66663 /tests/foreach.test | |
parent | 473838eabcddf5535160c095af0a1b71e68d48f7 (diff) | |
download | tcl-50bb2f9aeb42d763d30333fbb8e053d9a5dc72e8.zip tcl-50bb2f9aeb42d763d30333fbb8e053d9a5dc72e8.tar.gz tcl-50bb2f9aeb42d763d30333fbb8e053d9a5dc72e8.tar.bz2 |
Update test for corrected error message
Diffstat (limited to 'tests/foreach.test')
-rw-r--r-- | tests/foreach.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/foreach.test b/tests/foreach.test index 8fb5144..07fbe22 100644 --- a/tests/foreach.test +++ b/tests/foreach.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: foreach.test,v 1.13 2007/03/12 20:45:27 dgp Exp $ +# RCS: @(#) $Id: foreach.test,v 1.14 2008/03/14 17:43:25 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -75,7 +75,7 @@ test foreach-1.14 {foreach errors} { set a(0) 44 list [catch {foreach a {1 2 3} {}} msg o] $msg $::errorInfo } {1 {can't set "a": variable is array} {can't set "a": variable is array - (setting foreach loop variable "a" + (setting foreach loop variable "a") invoked from within "foreach a {1 2 3} {}"}} test foreach-1.15 {foreach errors} { |