diff options
| author | gahr <gahr@gahr.ch> | 2016-04-04 11:25:12 (GMT) |
|---|---|---|
| committer | gahr <gahr@gahr.ch> | 2016-04-04 11:25:12 (GMT) |
| commit | 540521771129cfb3a851405ae4306448fea3e769 (patch) | |
| tree | 75feaeff0a9a36b53252789c8aebb45dbc0b2e49 /tests/lreplace.test | |
| parent | 4b301d844892c52ec5fecce47f03c91a551639ca (diff) | |
| parent | b4d78562f6e023b1bf1accc8649c1a93b14be8d6 (diff) | |
| download | tcl-tip_444.zip tcl-tip_444.tar.gz tcl-tip_444.tar.bz2 | |
merge trunktip_444
Diffstat (limited to 'tests/lreplace.test')
| -rw-r--r-- | tests/lreplace.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/lreplace.test b/tests/lreplace.test index e66a331..55a36a8 100644 --- a/tests/lreplace.test +++ b/tests/lreplace.test @@ -181,6 +181,17 @@ test lreplace-4.11 {lreplace end index first} { test lreplace-4.12 {lreplace end index first} { lreplace {0 1 2 3 4} end-2 2 a b c } {0 1 a b c 3 4} + +test lreplace-5.1 {compiled lreplace: Bug 47ac84309b} { + apply {x { + lreplace $x end 0 + }} {a b c} +} {a b c} +test lreplace-5.2 {compiled lreplace: Bug 47ac84309b} { + apply {x { + lreplace $x end 0 A + }} {a b c} +} {a b A c} # cleanup catch {unset foo} |
