diff options
author | hobbs <hobbs> | 2001-07-03 03:33:42 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2001-07-03 03:33:42 (GMT) |
commit | 970995d516c48cff4a1d54a83ea6b8281b28f6ae (patch) | |
tree | e2f5f1ab81eccd23d114821616c79cee33b56fde /tests | |
parent | f95adc31b2b6a26b68eaafb67a0438c3989bc458 (diff) | |
download | tcl-970995d516c48cff4a1d54a83ea6b8281b28f6ae.zip tcl-970995d516c48cff4a1d54a83ea6b8281b28f6ae.tar.gz tcl-970995d516c48cff4a1d54a83ea6b8281b28f6ae.tar.bz2 |
* tests/util.test: added util-4.6
* generic/tclUtil.c (Tcl_ConcatObj): Corrected walking backwards
over utf-8 chars. [Bug #227512]
Diffstat (limited to 'tests')
-rw-r--r-- | tests/util.test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/util.test b/tests/util.test index 93962d0..d783eff 100644 --- a/tests/util.test +++ b/tests/util.test @@ -7,7 +7,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: util.test,v 1.7 2000/04/10 17:19:06 ericm Exp $ +# RCS: @(#) $Id: util.test,v 1.8 2001/07/03 03:33:42 hobbs Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -62,6 +62,10 @@ test util-4.4 {Tcl_ConcatObj - backslash-space at end of argument} { test util-4.5 {Tcl_ConcatObj - backslash-space at end of argument} { concat a { } c } {a c} +test util-4.6 {Tcl_ConcatObj - utf-8 sequence with "whitespace" char} { + # Check for Bug #227512. If this violates C isspace, then it returns \xc3. + concat \xe0 +} \xe0 test util-5.1 {Tcl_StringMatch} { string match ab*c abc |