diff options
author | dgp <dgp@users.sourceforge.net> | 2009-01-29 17:13:49 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-01-29 17:13:49 (GMT) |
commit | ee3194e1a37679433a699a0a46edb7f90875bf73 (patch) | |
tree | c5f5e4aa9c4853f8e0b79d6fe2966d26d7eadf96 /tests/nre.test | |
parent | 1613b73f3d0c97fc20285de5b2c1e90eed432fdc (diff) | |
download | tcl-ee3194e1a37679433a699a0a46edb7f90875bf73.zip tcl-ee3194e1a37679433a699a0a46edb7f90875bf73.tar.gz tcl-ee3194e1a37679433a699a0a46edb7f90875bf73.tar.bz2 |
* generic/tclInterp.c: Convert the [interp] command into a
* tests/interp.test: [namespace ensemble]. Work in progress
* tests/nre.test: to NRE-enable the [interp invokehidden]
subcommand.
Diffstat (limited to 'tests/nre.test')
-rw-r--r-- | tests/nre.test | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/nre.test b/tests/nre.test index ef2802f..873eb14 100644 --- a/tests/nre.test +++ b/tests/nre.test @@ -9,7 +9,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: nre.test,v 1.6 2008/09/10 13:24:26 msofer Exp $ +# RCS: @(#) $Id: nre.test,v 1.7 2009/01/29 17:13:50 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -394,13 +394,11 @@ test nre-X.1 {eval in wrong interp} { set res [$i eval { set x {namespace children ::} set y [list namespace children ::] - namespace delete {*}[{*}$y] set j [interp create] + namespace delete {*}[{*}$y] $j eval {namespace delete {*}[namespace children ::]} namespace eval foo {} - set res [list [eval $x] [eval $y] [$j eval $x] [$j eval $y]] - interp delete $j - set res + list [eval $x] [eval $y] [$j eval $x] [$j eval $y] }] interp delete $i set res |