File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,14 +53,14 @@ catch err
53
53
" iconv error: byte sequence 0xc3a9e282ac is invalid in source encoding or cannot be represented in target encoding"
54
54
end
55
55
56
- @test_throws ErrorException decode (" qwertyé€" . data , " ASCII " )
56
+ @test_throws ErrorException encode (" qwertyé€" , " ISO-8859-1 " )
57
57
try
58
- decode (" qwertyé€" . data , " ASCII " )
58
+ encode (" qwertyé€" , " ISO-8859-1 " )
59
59
catch err
60
60
io = IOBuffer ()
61
61
showerror (io, err)
62
62
@test takebuf_string (io) ==
63
- " iconv error: byte sequence 0xc3a9e282ac is invalid in source encoding or cannot be represented in target encoding"
63
+ " iconv error: byte sequence 0xe282ac is invalid in source encoding or cannot be represented in target encoding"
64
64
end
65
65
66
66
mktemp () do p, io
You can’t perform that action at this time.
0 commit comments