summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2002-06-11 13:22:35 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2002-06-11 13:22:35 (GMT)
commit33dbda15badb308ceba71336a5fc9b2ee711250f (patch)
treef48d6f4358e3a6d0aae4ee6cfc304b3e7d159c67 /tests
parent0eff1d6bf32b22f58751446875eb73b29f14d832 (diff)
downloadtcl-33dbda15badb308ceba71336a5fc9b2ee711250f.zip
tcl-33dbda15badb308ceba71336a5fc9b2ee711250f.tar.gz
tcl-33dbda15badb308ceba71336a5fc9b2ee711250f.tar.bz2
Fix for [info locals] bug #567386; added compile functions for
[global], [upvar] and [variable].
Diffstat (limited to 'tests')
-rw-r--r--tests/info.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/info.test b/tests/info.test
index 801df6f..686aa35 100644
--- a/tests/info.test
+++ b/tests/info.test
@@ -11,7 +11,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: info.test,v 1.20 2002/04/18 18:05:59 msofer Exp $
+# RCS: @(#) $Id: info.test,v 1.21 2002/06/11 13:22:36 msofer Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -371,6 +371,8 @@ test info-12.1 {info locals option} {
set b 13
set c testing
global a
+ global aa
+ set aa 23
return [info locals]
}
lsort [t1 23 24]