diff --git a/test/irb/test_irb.rb b/test/irb/test_irb.rb index e8d5be285..2913f3d48 100644 --- a/test/irb/test_irb.rb +++ b/test/irb/test_irb.rb @@ -526,9 +526,6 @@ def test_embdoc_indent end def test_heredoc_with_indent - if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.7.0') - pend 'This test needs Ripper::Lexer#scan to take broken tokens' - end input_with_correct_indents = [ [%q(<<~Q+<<~R), 0, 2, 1], [%q(a), 2, 2, 1], diff --git a/test/irb/test_nesting_parser.rb b/test/irb/test_nesting_parser.rb index 2482d4008..2db3cdab5 100644 --- a/test/irb/test_nesting_parser.rb +++ b/test/irb/test_nesting_parser.rb @@ -319,9 +319,6 @@ def test_undef_alias end def test_case_in - if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.7.0') - pend 'This test requires ruby version that supports case-in syntax' - end code = <<~EOS case 1 in 1