summaryrefslogtreecommitdiffstats
path: root/tests/var.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2014-09-10 08:20:46 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2014-09-10 08:20:46 (GMT)
commit186cc4a17e82ce9bd90edccc45ab943c63b40c30 (patch)
tree20cafb24aed5e93ba0a4f84880a9dbafcb17b728 /tests/var.test
parentaa5429b146778774bfc447513e15c08126877653 (diff)
downloadtcl-186cc4a17e82ce9bd90edccc45ab943c63b40c30.zip
tcl-186cc4a17e82ce9bd90edccc45ab943c63b40c30.tar.gz
tcl-186cc4a17e82ce9bd90edccc45ab943c63b40c30.tar.bz2
[2486824] Improve error message; not all that upvars is an upvar.
Diffstat (limited to 'tests/var.test')
-rw-r--r--tests/var.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/var.test b/tests/var.test
index 45b7207..c852ca9 100644
--- a/tests/var.test
+++ b/tests/var.test
@@ -275,7 +275,7 @@ test var-3.11 {MakeUpvar, my var looks like array elem} -body {
catch {unset aaaaa}
set aaaaa 789789
upvar #0 aaaaa foo(bar)
-} -returnCodes 1 -result {bad variable name "foo(bar)": upvar won't create a scalar variable that looks like an array element}
+} -returnCodes 1 -result {bad variable name "foo(bar)": can't create a scalar variable that looks like an array element}
test var-4.1 {Tcl_GetVariableName, global variable} testgetvarfullname {
catch {unset a}