diff options
author | dkf <dkf@noemail.net> | 2004-05-19 20:15:29 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2004-05-19 20:15:29 (GMT) |
commit | 3d18f0fc699860ba1437ada09f42642a118e6733 (patch) | |
tree | b07002700fcbcc6b4ed86c424196b744184971a1 /tests/string.test | |
parent | edff0eab15e6bd1e84636a0b1bf8282fe23aa951 (diff) | |
download | tcl-3d18f0fc699860ba1437ada09f42642a118e6733.zip tcl-3d18f0fc699860ba1437ada09f42642a118e6733.tar.gz tcl-3d18f0fc699860ba1437ada09f42642a118e6733.tar.bz2 |
Massive test cleanup; all tests are run, and constraints are used where necessary.
FossilOrigin-Name: ae1ac5736f8152bee6dd84f96e191a4a097cebb3
Diffstat (limited to 'tests/string.test')
-rw-r--r-- | tests/string.test | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/string.test b/tests/string.test index 083e145..b64fc4d 100644 --- a/tests/string.test +++ b/tests/string.test @@ -12,7 +12,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: string.test,v 1.39 2003/07/04 10:30:27 dkf Exp $ +# RCS: @(#) $Id: string.test,v 1.40 2004/05/19 20:15:32 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -21,8 +21,7 @@ if {[lsearch [namespace children] ::tcltest] == -1} { # Some tests require the testobj command -set ::tcltest::testConstraints(testobj) \ - [expr {[info commands testobj] != {}}] +testConstraint testobj [expr {[info commands testobj] != {}}] test string-1.1 {error conditions} { list [catch {string gorp a b} msg] $msg |