summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Trindade <ricardo.trindade743@gmail.com>2024-08-04 16:53:44 +0200
committergit <svn-admin@ruby-lang.org>2024-08-04 14:53:51 +0000
commit7d5cb4573d39e5c62058314dcfc73895b4e6dffd (patch)
treee7ae0538524df0368eb3d43db9c26fccbfb89e1f
parentb708661313246bb17e349f8f90c663c5e286a1c8 (diff)
[ruby/irb] Remove Ruby version checks
(https://github.com/ruby/irb/pull/985) https://github.com/ruby/irb/commit/9ce6972e71
-rw-r--r--test/irb/test_irb.rb3
-rw-r--r--test/irb/test_nesting_parser.rb3
2 files changed, 0 insertions, 6 deletions
diff --git a/test/irb/test_irb.rb b/test/irb/test_irb.rb
index e8d5be285e..2913f3d48e 100644
--- a/test/irb/test_irb.rb
+++ b/test/irb/test_irb.rb
@@ -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],
diff --git a/test/irb/test_nesting_parser.rb b/test/irb/test_nesting_parser.rb
index 2482d40081..2db3cdab57 100644
--- a/test/irb/test_nesting_parser.rb
+++ b/test/irb/test_nesting_parser.rb
@@ -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