diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2007-11-01 11:11:42 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2007-11-01 11:11:42 (GMT) |
commit | 2b649ba9103839c6ddefe1dae22a795915b6c654 (patch) | |
tree | c144a8963de5dffd6685d2e1acb7631424d263db /tests/string.test | |
parent | b63e2b17063b770287357b30d1839c8df4e7eeb1 (diff) | |
download | tcl-2b649ba9103839c6ddefe1dae22a795915b6c654.zip tcl-2b649ba9103839c6ddefe1dae22a795915b6c654.tar.gz tcl-2b649ba9103839c6ddefe1dae22a795915b6c654.tar.bz2 |
\u0000 is ASCII! [Bug 1808258]
Diffstat (limited to 'tests/string.test')
-rw-r--r-- | tests/string.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/string.test b/tests/string.test index 8cf93b7..f6c4954 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.65 2007/10/15 21:27:50 dgp Exp $ +# RCS: @(#) $Id: string.test,v 1.66 2007/11/01 11:11:45 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -350,11 +350,11 @@ test string-6.17 {string is alpha, unicode} { string is alpha abc\374 } 1 test string-6.18 {string is ascii, true} { - string is ascii abc\u007Fend + string is ascii abc\u007Fend\u0000 } 1 test string-6.19 {string is ascii, false} { - list [string is ascii -fail var abcdef\u0080more] $var -} {0 6} + list [string is ascii -fail var abc\u0000def\u0080more] $var +} {0 7} test string-6.20 {string is boolean, true} { string is boolean true } 1 |