summaryrefslogtreecommitdiffstats
path: root/tests/var.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2014-09-10 08:24:59 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2014-09-10 08:24:59 (GMT)
commit893b3f3b6945cbed2de0e75bf3b0ce06ceaf391c (patch)
treedd2cb87a1afb416ea575ca2e1208ddd2b672ea6e /tests/var.test
parente19c2ce585d7fe309059bb96044b08dbfa850a6b (diff)
parent186cc4a17e82ce9bd90edccc45ab943c63b40c30 (diff)
downloadtcl-893b3f3b6945cbed2de0e75bf3b0ce06ceaf391c.zip
tcl-893b3f3b6945cbed2de0e75bf3b0ce06ceaf391c.tar.gz
tcl-893b3f3b6945cbed2de0e75bf3b0ce06ceaf391c.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 208b361..8e862f7 100644
--- a/tests/var.test
+++ b/tests/var.test
@@ -289,7 +289,7 @@ test var-3.11 {MakeUpvar, my var looks like array elem} -setup {
} -returnCodes error -body {
set aaaaa 789789
upvar #0 aaaaa foo(bar)
-} -result {bad variable name "foo(bar)": upvar won't create a scalar variable that looks like an array element}
+} -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}