diff options
author | Benoit Daloze <eregontp@gmail.com> | 2019-11-30 21:26:52 +0100 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2019-11-30 21:26:52 +0100 |
commit | 1243255c3a36433041012b6107a5ac48658a0895 (patch) | |
tree | 04440f84b48999ff08d4a2a16d066d0ad731400e /spec/ruby/library/scanf/io/scanf_spec.rb | |
parent | ab8345271eb87ff155d8bd5f22f53a4cf2902c26 (diff) | |
download | ruby-1243255c3a36433041012b6107a5ac48658a0895.tar.gz |
Update to ruby/spec@4eec3dc
Diffstat (limited to 'spec/ruby/library/scanf/io/scanf_spec.rb')
-rw-r--r-- | spec/ruby/library/scanf/io/scanf_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/scanf/io/scanf_spec.rb b/spec/ruby/library/scanf/io/scanf_spec.rb index 6a1fd66780..6a3e6d0d1a 100644 --- a/spec/ruby/library/scanf/io/scanf_spec.rb +++ b/spec/ruby/library/scanf/io/scanf_spec.rb @@ -6,8 +6,8 @@ ruby_version_is ''...'2.7' do describe "IO#scanf" do before :each do - @hw = File.open(fixture(__FILE__, 'helloworld.txt'), 'r') - @data = File.open(fixture(__FILE__, 'date.txt'), 'r') + @hw = File.open(fixture(__FILE__, 'helloworld.txt'), 'rb') + @data = File.open(fixture(__FILE__, 'date.txt'), 'rb') end after :each do |