diff options
author | vincentdarley <vincentdarley> | 2002-11-13 22:11:38 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley> | 2002-11-13 22:11:38 (GMT) |
commit | fe149949576c0ce56f3649fe2f2072823ba5e701 (patch) | |
tree | 62ea3a2dde7c791ca96c044c35cefabc0c70f126 /tests/stringObj.test | |
parent | e624eb0ea85f7ae4a82f916dffab6466c5a26d5a (diff) | |
download | tcl-fe149949576c0ce56f3649fe2f2072823ba5e701.zip tcl-fe149949576c0ce56f3649fe2f2072823ba5e701.tar.gz tcl-fe149949576c0ce56f3649fe2f2072823ba5e701.tar.bz2 |
3 small fixes
Diffstat (limited to 'tests/stringObj.test')
-rw-r--r-- | tests/stringObj.test | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/stringObj.test b/tests/stringObj.test index 115ba2c..c2db812 100644 --- a/tests/stringObj.test +++ b/tests/stringObj.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: stringObj.test,v 1.11 2000/06/28 18:11:21 ericm Exp $ +# RCS: @(#) $Id: stringObj.test,v 1.12 2002/11/13 22:11:41 vincentdarley Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -415,6 +415,17 @@ test stringObj-13.6 {Tcl_GetCharLength with mixed width chars} { list [string length $a] [string length $a] } {10 10} +test stringObj-14.1 {Tcl_SetObjLength on pure unicode object} {knownBug} { + teststringobj set 1 foo + teststringobj getunicode 1 + teststringobj append 1 bar -1 + teststringobj getunicode 1 + teststringobj append 1 bar -1 + teststringobj setlength 1 0 + teststringobj append 1 bar -1 + teststringobj get 1 +} {bar} + testobj freeallvars # cleanup |