summaryrefslogtreecommitdiffstats
path: root/tests/subst.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-11-07 13:59:27 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-11-07 13:59:27 (GMT)
commit4ec954d30638d7601c2f884c6a70f30ebab5ac11 (patch)
tree32c62ce0f31df1e15fc51664895207715c0300ed /tests/subst.test
parent6e42c4bf10f4e275c5ae106296110a3584b4a070 (diff)
downloadtcl-4ec954d30638d7601c2f884c6a70f30ebab5ac11.zip
tcl-4ec954d30638d7601c2f884c6a70f30ebab5ac11.tar.gz
tcl-4ec954d30638d7601c2f884c6a70f30ebab5ac11.tar.bz2
Make sure all uses of the [testbytestring] command are constrained.
Diffstat (limited to 'tests/subst.test')
-rw-r--r--tests/subst.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/subst.test b/tests/subst.test
index 256b7f7..2115772 100644
--- a/tests/subst.test
+++ b/tests/subst.test
@@ -38,8 +38,8 @@ test subst-2.3 {simple strings} {
} abcdefg
test subst-2.4 {simple strings} testbytestring {
# Tcl Bug 685106
- subst [testbytestring bar\x00soom]
-} [testbytestring bar\x00soom]
+ expr {[subst [testbytestring bar\x00soom]] eq [testbytestring bar\x00soom]}
+} 1
test subst-3.1 {backslash substitutions} {
subst {\x\$x\[foo bar]\\}