summaryrefslogtreecommitdiffstats
path: root/tests/encoding.test
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-03-16 18:15:46 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-03-16 18:15:46 (GMT)
commitaa14feed8b03a78ef20b0989d17b44b7e734243e (patch)
treebde08442b1ed65ef6fc44806e9644ddd9f27843f /tests/encoding.test
parente7fc2e1e1d845b964cbf8c084865e83d1ced239f (diff)
downloadtcl-aa14feed8b03a78ef20b0989d17b44b7e734243e.zip
tcl-aa14feed8b03a78ef20b0989d17b44b7e734243e.tar.gz
tcl-aa14feed8b03a78ef20b0989d17b44b7e734243e.tar.bz2
Missed two tests. Blast it :-(
Diffstat (limited to 'tests/encoding.test')
-rw-r--r--tests/encoding.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/encoding.test b/tests/encoding.test
index 1be6fed..35340a6 100644
--- a/tests/encoding.test
+++ b/tests/encoding.test
@@ -872,10 +872,10 @@ test encoding-24.37 {Parse invalid utf-8 with -profile tcl8} -body {
} -result \uD800
test encoding-24.38.1 {Try to generate invalid utf-8} -body {
encoding convertto -profile tcl8 utf-8 \uD800
-} -returnCodes 1 -result {unexpected character at index 0: 'U+00D800'}
+} -result \xED\xA0\x80
test encoding-24.38.2 {Try to generate invalid utf-8} -body {
encoding convertto -profile strict utf-8 \uD800
-} -result \xED\xA0\x80
+} -returnCodes 1 -result {unexpected character at index 0: 'U+00D800'}
test encoding-24.39 {Try to generate invalid utf-8 with -profile strict} -body {
encoding convertto -profile strict utf-8 \uD800
} -returnCodes 1 -result {unexpected character at index 0: 'U+00D800'}