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)
commit7565b9ff1e4da5e96bea024326dba1b3d405d7fb (patch)
tree32c62ce0f31df1e15fc51664895207715c0300ed /tests/subst.test
parent10dc783c93904a502f6ad58d7780b5c4b8b88c63 (diff)
downloadtcl-7565b9ff1e4da5e96bea024326dba1b3d405d7fb.zip
tcl-7565b9ff1e4da5e96bea024326dba1b3d405d7fb.tar.gz
tcl-7565b9ff1e4da5e96bea024326dba1b3d405d7fb.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]\\}