diff --git a/test/prism/ruby/parser_test.rb b/test/prism/ruby/parser_test.rb index 1629c36b38..648c44e77a 100644 --- a/test/prism/ruby/parser_test.rb +++ b/test/prism/ruby/parser_test.rb @@ -172,7 +172,6 @@ def test_non_prism_builder_class_deprecated if RUBY_VERSION >= "3.3" def test_current_parser_for_current_ruby major, minor = current_major_minor.split(".") - return if major == "3" && minor == "5" # TODO: Remove once ruby-dev becomes 4.0 # Let's just hope there never is a Ruby 3.10 or similar expected = major.to_i * 10 + minor.to_i assert_equal(expected, Translation::ParserCurrent.new.version) diff --git a/test/prism/test_helper.rb b/test/prism/test_helper.rb index c03f70b2cd..42555738cf 100644 --- a/test/prism/test_helper.rb +++ b/test/prism/test_helper.rb @@ -256,7 +256,6 @@ def current_major_minor if RUBY_VERSION >= "3.3.0" def test_all_syntax_versions_present - return if RUBY_VERSION.start_with?("3.5") # TODO: Remove once ruby-dev becomes 4.0 assert_include(SYNTAX_VERSIONS, current_major_minor) end end