Update to ruby/spec@0526d8f
This commit is contained in:
parent
5c276e1cc9
commit
7b727e30fc
@ -73,10 +73,10 @@ describe :io_write, shared: true do
|
|||||||
File.open(@filename, "w") do |f|
|
File.open(@filename, "w") do |f|
|
||||||
f.set_encoding(Encoding::IBM437)
|
f.set_encoding(Encoding::IBM437)
|
||||||
# A character whose codepoint differs between UTF-8 and IBM437
|
# A character whose codepoint differs between UTF-8 and IBM437
|
||||||
f.write "ƒ\n".freeze
|
f.write "ƒ".freeze
|
||||||
end
|
end
|
||||||
|
|
||||||
File.binread(@filename).bytes.should == [159, 10]
|
File.binread(@filename).bytes.should == [159]
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "on a pipe" do
|
describe "on a pipe" do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user