diff options
author | Benoit Daloze <[email protected]> | 2024-11-06 21:57:34 +0100 |
---|---|---|
committer | Benoit Daloze <[email protected]> | 2024-11-06 21:58:28 +0100 |
commit | fdc82cca83bbbfe88f90d2888e139a6dde481101 (patch) | |
tree | 99165cce6af5eaca59316c06fed33f958c85e16a /spec/ruby/library/stringio/shared/sysread.rb | |
parent | 9bc63e7ba066b31314bbd66def4932b398eaf4c9 (diff) |
Update to ruby/spec@54c391e
Diffstat (limited to 'spec/ruby/library/stringio/shared/sysread.rb')
-rw-r--r-- | spec/ruby/library/stringio/shared/sysread.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/stringio/shared/sysread.rb b/spec/ruby/library/stringio/shared/sysread.rb index 937bac705c..3e23fbc233 100644 --- a/spec/ruby/library/stringio/shared/sysread.rb +++ b/spec/ruby/library/stringio/shared/sysread.rb @@ -10,6 +10,6 @@ describe :stringio_sysread_length, shared: true do it "raises an EOFError when passed length > 0 and no data remains" do @io.read.should == "example" - -> { @io.sysread(1) }.should raise_error(EOFError) + -> { @io.send(@method, 1) }.should raise_error(EOFError) end end |