summaryrefslogtreecommitdiffstats
path: root/tests/stringComp.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-10-14 19:28:46 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-10-14 19:28:46 (GMT)
commitd3c6e22da28dddf8b1f028900647c9221ffcd64a (patch)
tree3374679d2549563dd5c0a512edd8f43abbe90d08 /tests/stringComp.test
parent23b011c32d44c8182e0a04316704b590bd2920dd (diff)
downloadtcl-d3c6e22da28dddf8b1f028900647c9221ffcd64a.zip
tcl-d3c6e22da28dddf8b1f028900647c9221ffcd64a.tar.gz
tcl-d3c6e22da28dddf8b1f028900647c9221ffcd64a.tar.bz2
[eb6b68c1a9] Simple fix for [string replace] error demonstrated by new test.
Diffstat (limited to 'tests/stringComp.test')
-rw-r--r--tests/stringComp.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/stringComp.test b/tests/stringComp.test
index 140a270..2aeb08e 100644
--- a/tests/stringComp.test
+++ b/tests/stringComp.test
@@ -738,6 +738,9 @@ test stringComp-14.4 {Bug 1af8de570511} {
string replace $val[unset val] 1 1 $y
}} 4 x
} 0x00
+test stringComp-14.5 {} {
+ string length [string replace [string repeat a\u00fe 2] 3 end {}]
+} 3
## string tolower
## not yet bc