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)
commit5f9519213f1ee34452f4fa7bd495a4c1ddada792 (patch)
tree20cafb24aed5e93ba0a4f84880a9dbafcb17b728 /tests/var.test
parent976c48a7f14df997ad05c82dae867c8622236e70 (diff)
downloadtcl-5f9519213f1ee34452f4fa7bd495a4c1ddada792.zip
tcl-5f9519213f1ee34452f4fa7bd495a4c1ddada792.tar.gz
tcl-5f9519213f1ee34452f4fa7bd495a4c1ddada792.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}