diff options
| author | oehhar <harald.oehlmann@elmicron.de> | 2022-03-15 10:28:48 (GMT) |
|---|---|---|
| committer | oehhar <harald.oehlmann@elmicron.de> | 2022-03-15 10:28:48 (GMT) |
| commit | ea69616a5dd24c1d6c78e20ee260956e766342ea (patch) | |
| tree | af06ddcd8bb5f02e2f35065a26edc8f54f170824 | |
| parent | 60b2db50fcc19a83a5c737e5cadfcbd8f7f3810b (diff) | |
| download | tcl-ea69616a5dd24c1d6c78e20ee260956e766342ea.zip tcl-ea69616a5dd24c1d6c78e20ee260956e766342ea.tar.gz tcl-ea69616a5dd24c1d6c78e20ee260956e766342ea.tar.bz2 | |
TIP607 encoding failindex: correct test which works now.
| -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 4284254..f4343c4 100644 --- a/tests/encoding.test +++ b/tests/encoding.test @@ -696,7 +696,7 @@ test encoding-24.30 {convertrom -failindex with correct data} -body { set test } -returnCodes 0 -result -1 test encoding-24.31 {convertrom -failindex with incomplete utf8} -body { - set x [encoding convertfrom -failindex i A\xc3] + set x [encoding convertfrom -failindex i utf-8 A\xc3] binary scan $x H* y list $y $i } -returnCodes 0 -result {41 1} |
