mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@0526d8f
This commit is contained in:
parent
5c276e1cc9
commit
7b727e30fc
1 changed files with 2 additions and 2 deletions
|
@ -73,10 +73,10 @@ describe :io_write, shared: true do
|
|||
File.open(@filename, "w") do |f|
|
||||
f.set_encoding(Encoding::IBM437)
|
||||
# A character whose codepoint differs between UTF-8 and IBM437
|
||||
f.write "ƒ\n".freeze
|
||||
f.write "ƒ".freeze
|
||||
end
|
||||
|
||||
File.binread(@filename).bytes.should == [159, 10]
|
||||
File.binread(@filename).bytes.should == [159]
|
||||
end
|
||||
|
||||
describe "on a pipe" do
|
||||
|
|
Loading…
Reference in a new issue