summaryrefslogtreecommitdiffstats
path: root/tests/stringComp.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-12-23 03:11:01 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-12-23 03:11:01 (GMT)
commit1a92fb378c0e8060f433986fb0dc89bd04168a45 (patch)
treea5328c9e7f0e9394621e84657c6454994d8084af /tests/stringComp.test
parent52bcb866e5ca12af686bac155a8922480f2b7117 (diff)
parentef6f1ba2c34bd3243b54d46d23d37392d7bf34ba (diff)
downloadtcl-1a92fb378c0e8060f433986fb0dc89bd04168a45.zip
tcl-1a92fb378c0e8060f433986fb0dc89bd04168a45.tar.gz
tcl-1a92fb378c0e8060f433986fb0dc89bd04168a45.tar.bz2
merge trunk
Diffstat (limited to 'tests/stringComp.test')
-rw-r--r--tests/stringComp.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/stringComp.test b/tests/stringComp.test
index f9f6bda..a66525e 100644
--- a/tests/stringComp.test
+++ b/tests/stringComp.test
@@ -720,6 +720,14 @@ test stringComp-14.2 {Bug 82e7f67325} memory {
}} {a b}
}
} {0}
+test stringComp-14.3 {Bug 0dca3bfa8f} {
+ apply {arg {
+ set argCopy $arg
+ set arg [string replace $arg 1 2 aa]
+ # Crashes in comparison before fix
+ expr {$arg ne $argCopy}
+ }} abcde
+} 1
## string tolower
## not yet bc