diff options
Diffstat (limited to 'tests/concat.test')
-rw-r--r-- | tests/concat.test | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/tests/concat.test b/tests/concat.test index a0d819d..69a4f21 100644 --- a/tests/concat.test +++ b/tests/concat.test @@ -6,13 +6,16 @@ # # Copyright (c) 1991-1993 The Regents of the University of California. # Copyright (c) 1994-1996 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: concat.test,v 1.2 1998/09/14 18:40:08 stanton Exp $ +# RCS: @(#) $Id: concat.test,v 1.3 1999/04/16 00:47:25 stanton Exp $ -if {[string compare test [info procs test]] == 1} then {source defs} +if {[lsearch [namespace children] ::tcltest] == -1} { + source [file join [pwd] [file dirname [info script]] defs.tcl] +} test concat-1.1 {simple concatenation} { concat a b c d e f g @@ -44,3 +47,19 @@ test concat-4.2 {pruning off extra white space} { test concat-4.3 {pruning off extra white space sets length correctly} { llength [concat { {{a}} }] } 1 + +# cleanup +::tcltest::cleanupTests +return + + + + + + + + + + + + |