From ebf803aa196e2df4c129b1ec11107363ebbe1382 Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Thu, 25 Jan 2024 08:43:41 -0500 Subject: [ruby/prism] Fix Ruby head build https://github.com/ruby/prism/commit/149e2ff7f6 --- test/prism/locals_test.rb | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'test') diff --git a/test/prism/locals_test.rb b/test/prism/locals_test.rb index 3dbe58f64d..e7322b0314 100644 --- a/test/prism/locals_test.rb +++ b/test/prism/locals_test.rb @@ -7,7 +7,7 @@ # # There have also been changes made in other versions of Ruby, so we only want # to test on the most recent versions. -return if !defined?(RubyVM::InstructionSequence) || RUBY_VERSION < "3.2" +return if !defined?(RubyVM::InstructionSequence) || RUBY_VERSION < "3.4.0" # Omit tests if running on a 32-bit machine because there is a bug with how # Ruby is handling large ISeqs on 32-bit machines @@ -57,24 +57,6 @@ module Prism # Dead code eliminated invalid << "whitequark/ruby_bug_10653.txt" - # case :a - # in Symbol(*lhs, x, *rhs) - # end - todos << "seattlerb/case_in.txt" - - # <<~HERE - # #{<<~THERE} - # THERE - # HERE - todos << "seattlerb/heredoc_nested.txt" - - # Ruby < 3.3.0 fails to parse: - # - # <<-' HERE' - # foo - # HERE - invalid << "heredocs_leading_whitespace.txt" if RUBY_VERSION < "3.3.0" - base = File.join(__dir__, "fixtures") skips = invalid | todos -- cgit v1.2.3