[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:
parent
b708661313
commit
7d5cb4573d
@ -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],
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user