summaryrefslogtreecommitdiffstats
path: root/tests/namespace.test
diff options
context:
space:
mode:
authorrjohnson <rjohnson>1999-06-26 20:55:07 (GMT)
committerrjohnson <rjohnson>1999-06-26 20:55:07 (GMT)
commitb7d2ed098d4da0c69bea2284a85c32b2c5b963d2 (patch)
tree665586b1c9303e9fcaca207d55c27882b0d49e8c /tests/namespace.test
parent13e2875c78600a24136dabeee868927b69502252 (diff)
downloadtcl-b7d2ed098d4da0c69bea2284a85c32b2c5b963d2.zip
tcl-b7d2ed098d4da0c69bea2284a85c32b2c5b963d2.tar.gz
tcl-b7d2ed098d4da0c69bea2284a85c32b2c5b963d2.tar.bz2
Fixed style problems in many of the test files.
Fixed bug in pkg.test where defs.tcl was still being used.
Diffstat (limited to 'tests/namespace.test')
-rw-r--r--tests/namespace.test18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/namespace.test b/tests/namespace.test
index c852a7d..c954aa2 100644
--- a/tests/namespace.test
+++ b/tests/namespace.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: namespace.test,v 1.5 1999/06/26 03:54:17 jenn Exp $
+# RCS: @(#) $Id: namespace.test,v 1.6 1999/06/26 20:55:08 rjohnson Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -81,14 +81,14 @@ test namespace-5.2 {Tcl_PopCallFrame, local vars must be deleted} {
test namespace-6.1 {Tcl_CreateNamespace} {
catch {eval namespace delete [namespace children :: test_ns_*]}
list [lsort [namespace children :: test_ns_*]] \
- [namespace eval test_ns_1 {namespace current}] \
- [namespace eval test_ns_2 {namespace current}] \
- [namespace eval ::test_ns_3 {namespace current}] \
- [namespace eval ::test_ns_4 \
- {namespace eval foo {namespace current}}] \
- [namespace eval ::test_ns_5 \
- {namespace eval ::test_ns_6 {namespace current}}] \
- [lsort [namespace children :: test_ns_*]]
+ [namespace eval test_ns_1 {namespace current}] \
+ [namespace eval test_ns_2 {namespace current}] \
+ [namespace eval ::test_ns_3 {namespace current}] \
+ [namespace eval ::test_ns_4 \
+ {namespace eval foo {namespace current}}] \
+ [namespace eval ::test_ns_5 \
+ {namespace eval ::test_ns_6 {namespace current}}] \
+ [lsort [namespace children :: test_ns_*]]
} {{} ::test_ns_1 ::test_ns_2 ::test_ns_3 ::test_ns_4::foo ::test_ns_6 {::test_ns_1 ::test_ns_2 ::test_ns_3 ::test_ns_4 ::test_ns_5 ::test_ns_6}}
test namespace-6.2 {Tcl_CreateNamespace, odd number of :'s in name is okay} {
list [namespace eval :::test_ns_1::::foo {namespace current}] \