diff options
Diffstat (limited to 'spec/ruby/core/io/gets_spec.rb')
-rw-r--r-- | spec/ruby/core/io/gets_spec.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/spec/ruby/core/io/gets_spec.rb b/spec/ruby/core/io/gets_spec.rb index b22b226beb..525c7547cd 100644 --- a/spec/ruby/core/io/gets_spec.rb +++ b/spec/ruby/core/io/gets_spec.rb @@ -139,11 +139,9 @@ describe "IO#gets" do end end - ruby_version_is "2.4" do - describe "when passed chomp" do - it "returns the first line without a trailing newline character" do - @io.gets(chomp: true).should == IOSpecs.lines_without_newline_characters[0] - end + describe "when passed chomp" do + it "returns the first line without a trailing newline character" do + @io.gets(chomp: true).should == IOSpecs.lines_without_newline_characters[0] end end end |