[ruby/irb] Remove Ruby version checks

(https://github.com/ruby/irb/pull/985)

https://github.com/ruby/irb/commit/9ce6972e71
This commit is contained in:
Ricardo Trindade 2024-08-04 16:53:44 +02:00 committed by git
parent b708661313
commit 7d5cb4573d
2 changed files with 0 additions and 6 deletions

View File

@ -526,9 +526,6 @@ module TestIRB
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],

View File

@ -319,9 +319,6 @@ module TestIRB
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