File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2121
2222# Test that attempt to close stream in the middle of incomplete sequence throws
2323# TODO : use more specific errors
24- let s = " a string € チャネルパートナーの選択"
24+ let s = " a string チャネルパートナーの選択"
2525 p = StringEncoder (IOBuffer (), " UTF-16LE" )
2626 write (p, s. data[1 : 10 ])
2727 @test_throws ErrorException close (p)
@@ -32,10 +32,10 @@ let s = "a string € チャネルパートナーの選択"
3232
3333 # Test stateful encoding, which output some bytes on final reset
3434 # with strings containing different scripts
35- x = encode (s, " ISO-2022-JP-3 " )
36- @test decode (x, " ISO-2022-JP-3 " ) == s
35+ x = encode (s, " ISO-2022-JP" )
36+ @test decode (x, " ISO-2022-JP" ) == s
3737
38- p = StringDecoder (IOBuffer (x), " ISO-2022-JP-3 " , " UTF-8" )
38+ p = StringDecoder (IOBuffer (x), " ISO-2022-JP" , " UTF-8" )
3939 # Test that closed pipe behaves correctly
4040 close (p)
4141 @test eof (p)
You can’t perform that action at this time.
0 commit comments