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 21
21
22
22
# Test that attempt to close stream in the middle of incomplete sequence throws
23
23
# TODO : use more specific errors
24
- let s = " a string € チャネルパートナーの選択"
24
+ let s = " a string チャネルパートナーの選択"
25
25
p = StringEncoder (IOBuffer (), " UTF-16LE" )
26
26
write (p, s. data[1 : 10 ])
27
27
@test_throws ErrorException close (p)
@@ -32,10 +32,10 @@ let s = "a string € チャネルパートナーの選択"
32
32
33
33
# Test stateful encoding, which output some bytes on final reset
34
34
# 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
37
37
38
- p = StringDecoder (IOBuffer (x), " ISO-2022-JP-3 " , " UTF-8" )
38
+ p = StringDecoder (IOBuffer (x), " ISO-2022-JP" , " UTF-8" )
39
39
# Test that closed pipe behaves correctly
40
40
close (p)
41
41
@test eof (p)
You can’t perform that action at this time.
0 commit comments