diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-21 14:17:19 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-21 14:17:19 (GMT) |
commit | 2fd4fd18273cddc6c25cca5cf459cc0d90e2ff56 (patch) | |
tree | 8dbe1a14a55cac6123c70e589b4de7d077ff105d /tests/encoding.test | |
parent | aa0d55b4045974f7c2c1fb2042a06b1d0a4ea67d (diff) | |
download | tcl-2fd4fd18273cddc6c25cca5cf459cc0d90e2ff56.zip tcl-2fd4fd18273cddc6c25cca5cf459cc0d90e2ff56.tar.gz tcl-2fd4fd18273cddc6c25cca5cf459cc0d90e2ff56.tar.bz2 |
Change expectation for encoding-24.15 testcase: current code cannot detect (yet) that this byte sequence is invalid
Diffstat (limited to 'tests/encoding.test')
-rw-r--r-- | tests/encoding.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/encoding.test b/tests/encoding.test index fffcdd5..2ad9f85 100644 --- a/tests/encoding.test +++ b/tests/encoding.test @@ -646,7 +646,7 @@ test encoding-24.14 {Parse valid or invalid utf-8} { } 1 test encoding-24.15 {Parse valid or invalid utf-8} -body { encoding convertfrom utf-8 "Z\xE0\x80" -} -returnCodes 1 -result {unexpected byte sequence starting at index 1: '\xE0'} +} -result Z\xE0\x80 test encoding-24.16 {Parse valid or invalid utf-8} -constraints testbytestring -body { encoding convertto utf-8 [testbytestring "Z\u4343\x80"] } -returnCodes 1 -result {expected byte sequence but character 1 was '䍃' (U+004343)} |