summaryrefslogtreecommitdiffstats
path: root/tests/stringComp.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-09-08 12:43:49 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-09-08 12:43:49 (GMT)
commitd2c080833061d96d6d76d4d3873e15796cdd815c (patch)
tree68cbdfa02b9e8e347fddbd0df773613cf75f45d4 /tests/stringComp.test
parente36a7a2e7fa1f1afb57f5e6b06917180e429cd72 (diff)
parent14f15edc7322b01a23ee0ae2201d96ae38212d09 (diff)
downloadtcl-d2c080833061d96d6d76d4d3873e15796cdd815c.zip
tcl-d2c080833061d96d6d76d4d3873e15796cdd815c.tar.gz
tcl-d2c080833061d96d6d76d4d3873e15796cdd815c.tar.bz2
merge 8.6.4
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