Skip to content

Commit

Permalink
Remove Ruby version checks (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoTrindade authored Aug 4, 2024
1 parent 632da0f commit 9ce6972
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions test/irb/test_irb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
3 changes: 0 additions & 3 deletions test/irb/test_nesting_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9ce6972

Please sign in to comment.