summaryrefslogtreecommitdiff
path: root/tcl/tests/join.test
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/tests/join.test')
-rw-r--r--tcl/tests/join.test21
1 files changed, 20 insertions, 1 deletions
diff --git a/tcl/tests/join.test b/tcl/tests/join.test
index 365421495da..d2721a66192 100644
--- a/tcl/tests/join.test
+++ b/tcl/tests/join.test
@@ -6,13 +6,17 @@
#
# Copyright (c) 1991-1993 The Regents of the University of California.
# Copyright (c) 1994 Sun Microsystems, Inc.
+# Copyright (c) 1998-1999 by Scriptics Corporation.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# RCS: @(#) $Id$
-if {[string compare test [info procs test]] == 1} then {source defs}
+if {[lsearch [namespace children] ::tcltest] == -1} {
+ package require tcltest
+ namespace import -force ::tcltest::*
+}
test join-1.1 {basic join commands} {
join {a b c} xyz
@@ -45,4 +49,19 @@ test join-3.2 {join is binary ok} {
string length [join "a\0b a\0b a\0b"]
} 11
+# cleanup
+::tcltest::cleanupTests
+return
+
+
+
+
+
+
+
+
+
+
+
+