diff options
author | Benoit Daloze <eregontp@gmail.com> | 2019-06-27 21:02:36 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2019-06-27 21:02:36 +0200 |
commit | d80e44deec77678fe2d72f94c17b2409b3e794d5 (patch) | |
tree | 612bf2313550e0982dda452f48492cc069e1c21a /spec/ruby/core/argf | |
parent | c940397116c5aef76b1c0d05561c11d43ef596a7 (diff) |
Update to ruby/spec@8d74d49
Diffstat (limited to 'spec/ruby/core/argf')
-rw-r--r-- | spec/ruby/core/argf/binmode_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/argf/binmode_spec.rb b/spec/ruby/core/argf/binmode_spec.rb index 061145a0c7..c2dd578d95 100644 --- a/spec/ruby/core/argf/binmode_spec.rb +++ b/spec/ruby/core/argf/binmode_spec.rb @@ -31,13 +31,13 @@ describe "ARGF.binmode" do end end - it "sets the file's encoding to ASCII-8BIT" do + it "sets the file's encoding to BINARY" do argf [@bin_file, @file1] do @argf.binmode @argf.binmode?.should == true - @argf.gets.encoding.should == Encoding::ASCII_8BIT + @argf.gets.encoding.should == Encoding::BINARY @argf.skip - @argf.read.encoding.should == Encoding::ASCII_8BIT + @argf.read.encoding.should == Encoding::BINARY end end end |