diff options
author | Benoit Daloze <eregontp@gmail.com> | 2019-07-27 12:57:46 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2019-07-27 12:57:46 +0200 |
commit | 7b727e30fcbdf6ae4ac0b0b84f1d32c747d8525a (patch) | |
tree | 63582039738a6a135be405e3ba3e66d1d7401ed5 /spec/ruby | |
parent | 5c276e1cc91c5ab2a41fbf7827af2fed914a2bc0 (diff) | |
download | ruby-7b727e30fcbdf6ae4ac0b0b84f1d32c747d8525a.tar.gz |
Update to ruby/spec@0526d8f
Diffstat (limited to 'spec/ruby')
-rw-r--r-- | spec/ruby/core/io/shared/write.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/io/shared/write.rb b/spec/ruby/core/io/shared/write.rb index 542d20d2a4..270b84ac39 100644 --- a/spec/ruby/core/io/shared/write.rb +++ b/spec/ruby/core/io/shared/write.rb @@ -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 |