summaryrefslogtreecommitdiffstats
path: root/tests/namespace.test
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-03-27 22:19:14 (GMT)
committerhobbs <hobbs>2000-03-27 22:19:14 (GMT)
commit48a5129685b2db326b67643086f7c11c70fdcfb6 (patch)
treeff9912e3334643b2e91d95a89f614c54af0433f4 /tests/namespace.test
parent421933f19aa8d89536eea0669c57360ab504db1b (diff)
downloadtcl-48a5129685b2db326b67643086f7c11c70fdcfb6.zip
tcl-48a5129685b2db326b67643086f7c11c70fdcfb6.tar.gz
tcl-48a5129685b2db326b67643086f7c11c70fdcfb6.tar.bz2
* tests/httpd: removed unnecessary 'puts stderr "Post Dispatch"'
* tests/namespace.test: * generic/tclNamesp.c (Tcl_Export): added a uniq'ing test to the export list so only one instance of each export pattern would exist in the list.
Diffstat (limited to 'tests/namespace.test')
-rw-r--r--tests/namespace.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/namespace.test b/tests/namespace.test
index dcc6671..7f855c9 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.9 2000/01/26 21:36:36 ericm Exp $
+# RCS: @(#) $Id: namespace.test,v 1.10 2000/03/27 22:19:14 hobbs Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -803,11 +803,11 @@ test namespace-26.5 {NamespaceExportCmd, sequence of patterns, patterns accumula
}
list [info commands test_ns_2::*] [test_ns_2::cmd3 hello]
} {{::test_ns_2::cmd1 ::test_ns_2::cmd3} {cmd3: hello}}
-test namespace-26.6 {NamespaceExportCmd, no patterns means return export list} {
+test namespace-26.6 {NamespaceExportCmd, no patterns means return uniq'ed export list} {
namespace eval test_ns_1 {
namespace export
}
-} {cmd1 cmd1 cmd3}
+} {cmd1 cmd3}
test namespace-26.7 {NamespaceExportCmd, -clear resets export list} {
namespace eval test_ns_1 {
namespace export -clear cmd4