summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-01-25 08:43:41 -0500
committergit <svn-admin@ruby-lang.org>2024-01-25 13:58:07 +0000
commitebf803aa196e2df4c129b1ec11107363ebbe1382 (patch)
treebf0020630ce863480afa5e5b726a7b0109d4b2e1 /test
parentfdb8f086396e0f9b64e069852cb0dd40147877d1 (diff)
[ruby/prism] Fix Ruby head build
https://github.com/ruby/prism/commit/149e2ff7f6
Diffstat (limited to 'test')
-rw-r--r--test/prism/locals_test.rb20
1 files changed, 1 insertions, 19 deletions
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