diff options
Diffstat (limited to 'tests/listObj.test')
-rw-r--r-- | tests/listObj.test | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/tests/listObj.test b/tests/listObj.test index a240dec..fd11c24 100644 --- a/tests/listObj.test +++ b/tests/listObj.test @@ -11,22 +11,17 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: listObj.test,v 1.5 2000/04/10 17:19:01 ericm Exp $ +# RCS: @(#) $Id: listObj.test,v 1.6 2004/05/19 12:15:04 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest namespace import -force ::tcltest::* } -if {[info commands testobj] == {}} { - puts "This application hasn't been compiled with the \"testobj\"" - puts "command, so I can't test the Tcl type and object support." - ::tcltest::cleanupTests - return -} +testConstraint testobj [llength [info commands testobj]] catch {unset x} -test listobj-1.1 {Tcl_GetListObjType} { +test listobj-1.1 {Tcl_GetListObjType} testobj { set t [testobj types] set first [string first "list" $t] set result [expr {$first != -1}] @@ -186,15 +181,3 @@ test listobj-9.1 {UpdateStringOfList} { # cleanup ::tcltest::cleanupTests return - - - - - - - - - - - - |