diff options
| author | dgp <dgp@users.sourceforge.net> | 2014-11-07 13:59:27 (GMT) |
|---|---|---|
| committer | dgp <dgp@users.sourceforge.net> | 2014-11-07 13:59:27 (GMT) |
| commit | 7565b9ff1e4da5e96bea024326dba1b3d405d7fb (patch) | |
| tree | 32c62ce0f31df1e15fc51664895207715c0300ed /tests/parseOld.test | |
| parent | 10dc783c93904a502f6ad58d7780b5c4b8b88c63 (diff) | |
| download | tcl-7565b9ff1e4da5e96bea024326dba1b3d405d7fb.zip tcl-7565b9ff1e4da5e96bea024326dba1b3d405d7fb.tar.gz tcl-7565b9ff1e4da5e96bea024326dba1b3d405d7fb.tar.bz2 | |
Make sure all uses of the [testbytestring] command are constrained.
Diffstat (limited to 'tests/parseOld.test')
| -rw-r--r-- | tests/parseOld.test | 12 |
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. |
