diff options
author | apnadkarni <apnmbx-wits@yahoo.com> | 2023-02-18 17:41:44 (GMT) |
---|---|---|
committer | apnadkarni <apnmbx-wits@yahoo.com> | 2023-02-18 17:41:44 (GMT) |
commit | 41c5d1cd91756ac3614489931ebe22a4095a6cf9 (patch) | |
tree | 583a1a6a1a9e4b636cb638fc76072ba331602488 /tests/encoding.test | |
parent | 933e1c8e0cfca02300b0a184dab6d4c7e48cb499 (diff) | |
download | tcl-41c5d1cd91756ac3614489931ebe22a4095a6cf9.zip tcl-41c5d1cd91756ac3614489931ebe22a4095a6cf9.tar.gz tcl-41c5d1cd91756ac3614489931ebe22a4095a6cf9.tar.bz2 |
Minor refactoring/fixes after merge
Diffstat (limited to 'tests/encoding.test')
-rw-r--r-- | tests/encoding.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/encoding.test b/tests/encoding.test index 36728d1..7199138 100644 --- a/tests/encoding.test +++ b/tests/encoding.test @@ -848,10 +848,10 @@ test encoding-24.41 {Parse invalid utf-8 with -profile strict} -body { encoding convertfrom -profile strict utf-8 \xED\xA0\x80\xED\xB0\x80 } -returnCodes 1 -result {unexpected byte sequence starting at index 0: '\xED'} test encoding-24.42 {Parse invalid utf-8, fallback to cp1252 [885c86a9a0]} -body { - encoding convertfrom -nocomplain utf-8 \xF0\x80\x80\x80 + encoding convertfrom -profile tcl8 utf-8 \xF0\x80\x80\x80 } -result \xF0\u20AC\u20AC\u20AC test encoding-24.43 {Parse invalid utf-8, fallback to cp1252 [885c86a9a0]} -body { - encoding convertfrom -nocomplain utf-8 \x80 + encoding convertfrom -profile tcl8 utf-8 \x80 } -result \u20AC file delete [file join [temporaryDirectory] iso2022.txt] |