diff options
author | dkf <dkf@noemail.net> | 2006-11-22 23:25:16 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2006-11-22 23:25:16 (GMT) |
commit | 59a583508138ebc94c2de09f552680052d791757 (patch) | |
tree | 401bb064d0fb56c9ebdd695dcd272d9f0ffa8fad /tests | |
parent | d392b9b628439a2fa678c0b39979f09095b9c677 (diff) | |
download | tcl-59a583508138ebc94c2de09f552680052d791757.zip tcl-59a583508138ebc94c2de09f552680052d791757.tar.gz tcl-59a583508138ebc94c2de09f552680052d791757.tar.bz2 |
[string is list] tests: fixed mixed up test name, added test of unicode handling
FossilOrigin-Name: 5d00b286c5862b875b9d33feeb0fc65e546bd807
Diffstat (limited to 'tests')
-rw-r--r-- | tests/string.test | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/string.test b/tests/string.test index 463bcd3..dbffc46 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.60 2006/11/22 23:22:23 dkf Exp $ +# RCS: @(#) $Id: string.test,v 1.61 2006/11/22 23:25:17 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -1553,10 +1553,14 @@ test string-25.12 {string is list} { set x {} list [string is list -failindex x {}] $x } {1 {}} -test string-25.11 {string is list} { +test string-25.13 {string is list} { set x {} list [string is list -failindex x { {b c}d e}] $x } {0 2} +test string-25.14 {string is list} { + set x {} + list [string is list -failindex x "\uabcd {b c}d e"] $x +} {0 2} # cleanup ::tcltest::cleanupTests |