diff options
author | Benoit Daloze <[email protected]> | 2023-08-02 18:53:03 +0200 |
---|---|---|
committer | Benoit Daloze <[email protected]> | 2023-08-02 18:53:03 +0200 |
commit | dc54574adefe798702cc93457655da40f4939669 (patch) | |
tree | bd7ae5d6afc9bc00f6cb7813774543bc6f12b6e2 /spec/ruby/library/stringio/shared/each.rb | |
parent | e20f1e443f6d0a4d377ef237fffc1f4c6e27c9e1 (diff) |
Update to ruby/spec@9e278f5
Diffstat (limited to 'spec/ruby/library/stringio/shared/each.rb')
-rw-r--r-- | spec/ruby/library/stringio/shared/each.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/stringio/shared/each.rb b/spec/ruby/library/stringio/shared/each.rb index bf3265ee46..acd8d22c14 100644 --- a/spec/ruby/library/stringio/shared/each.rb +++ b/spec/ruby/library/stringio/shared/each.rb @@ -36,7 +36,7 @@ describe :stringio_each_separator, shared: true do seen.should == ["2 1 2 1 2"] end - ruby_version_is ''..."3.2" do + version_is StringIO::VERSION, ""..."3.0.4" do #ruby_version_is ""..."3.2" do it "yields each paragraph with two separation characters when passed an empty String as separator" do seen = [] io = StringIO.new("para1\n\npara2\n\n\npara3") @@ -45,7 +45,7 @@ describe :stringio_each_separator, shared: true do end end - ruby_version_is "3.2" do + version_is StringIO::VERSION, "3.0.4" do #ruby_version_is "3.2" do it "yields each paragraph with all separation characters when passed an empty String as separator" do seen = [] io = StringIO.new("para1\n\npara2\n\n\npara3") |