diff options
author | hobbs <hobbs> | 2000-03-27 22:19:14 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-03-27 22:19:14 (GMT) |
commit | 48a5129685b2db326b67643086f7c11c70fdcfb6 (patch) | |
tree | ff9912e3334643b2e91d95a89f614c54af0433f4 /tests | |
parent | 421933f19aa8d89536eea0669c57360ab504db1b (diff) | |
download | tcl-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')
-rw-r--r-- | tests/httpd | 1 | ||||
-rw-r--r-- | tests/namespace.test | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/httpd b/tests/httpd index 94cfb43..aa2e51d 100644 --- a/tests/httpd +++ b/tests/httpd @@ -106,7 +106,6 @@ proc httpdRead { sock } { set data(length) $data(length_orig) httpdRespond $sock } -puts stderr "Post Dispatch" } default { if [eof $sock] { 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 |