summaryrefslogtreecommitdiffstats
path: root/tests/parseOld.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/parseOld.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/parseOld.test')
-rw-r--r--tests/parseOld.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/parseOld.test b/tests/parseOld.test
index 4c08b5d..a6e07a2b 100644
--- a/tests/parseOld.test
+++ b/tests/parseOld.test
@@ -263,14 +263,14 @@ test parseOld-7.11 {backslash substitution} {
eval "list a \"b c\"\\\nd e"
} {a {b c} d e}
test parseOld-7.12 {backslash substitution} testbytestring {
- list \ua2
-} [testbytestring "\xc2\xa2"]
+ expr {[list \ua2] eq [testbytestring "\xc2\xa2"]}
+} 1
test parseOld-7.13 {backslash substitution} testbytestring {
- list \u4e21
-} [testbytestring "\xe4\xb8\xa1"]
+ expr {[list \u4e21] eq [testbytestring "\xe4\xb8\xa1"]}
+} 1
test parseOld-7.14 {backslash substitution} testbytestring {
- list \u4e2k
-} [testbytestring "\xd3\xa2k"]
+ expr {[list \u4e2k] eq [testbytestring "\xd3\xa2k"]}
+} 1
# Semi-colon.