diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-02-15 20:26:10 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-02-15 20:26:10 (GMT) |
commit | f06c5e7af1c85806bcbce3202000670b90ab4528 (patch) | |
tree | 60db88a86a34abcd731671a42c16357e79d8ebd2 /tests/encoding.test | |
parent | 4c2d834fca441a8d463e3bd1a06489f0b864cf73 (diff) | |
download | tcl-f06c5e7af1c85806bcbce3202000670b90ab4528.zip tcl-f06c5e7af1c85806bcbce3202000670b90ab4528.tar.gz tcl-f06c5e7af1c85806bcbce3202000670b90ab4528.tar.bz2 |
Fix for [33ab6d08eb]: Inconsistent behavior with encoding convertfrom -failindex
Diffstat (limited to 'tests/encoding.test')
-rw-r--r-- | tests/encoding.test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/encoding.test b/tests/encoding.test index 916a84a..6f1a760 100644 --- a/tests/encoding.test +++ b/tests/encoding.test @@ -617,9 +617,12 @@ test encoding-19.3 {TableFromUtfProc} -body { test encoding-19.4 {TableFromUtfProc} -body { list [encoding convertfrom -failindex idx ascii AÁ] [set idx] } -result {A 1} -test encoding-19.4 {TableFromUtfProc} -body { +test encoding-19.5 {TableFromUtfProc} -body { list [encoding convertfrom -failindex idx -strict ascii AÁ] [set idx] } -result {A 1} +test encoding-19.6 {TableFromUtfProc} -body { + list [encoding convertfrom -failindex idx -strict ascii AÁB] [set idx] +} -result {A 1} test encoding-20.1 {TableFreefProc} { } {} |