diff options
| author | Earlopain <14981592+Earlopain@users.noreply.github.com> | 2026-02-12 09:23:13 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2026-02-12 08:38:43 +0000 |
| commit | d57b75297391af5b5d4f279eeeec084df37e9618 (patch) | |
| tree | ea03488b5cd00f1f01d89e0df1ba5bb9286d4ce4 /test | |
| parent | 8f7c12830f431a92582a1a7831dee248820b27d9 (diff) | |
[ruby/prism] Run ruby_parser versions for ruby 3.3
It will not support newer ruby versions:
https://github.com/seattlerb/ruby_parser?tab=readme-ov-file#notice
This way we don't have to exclude new syntax.
https://github.com/ruby/prism/commit/2ffb629d4e
Diffstat (limited to 'test')
| -rw-r--r-- | test/prism/ruby/ruby_parser_test.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/prism/ruby/ruby_parser_test.rb b/test/prism/ruby/ruby_parser_test.rb index 6e4ba8ce16..25107978f3 100644 --- a/test/prism/ruby/ruby_parser_test.rb +++ b/test/prism/ruby/ruby_parser_test.rb @@ -85,16 +85,11 @@ module Prism "3.3-4.0/void_value.txt", - "3.4/circular_parameters.txt", - - "4.0/endless_methods_command_call.txt", - "4.0/leading_logical.txt", - # https://bugs.ruby-lang.org/issues/21168#note-5 "command_method_call_2.txt", ] - Fixture.each(except: failures) do |fixture| + Fixture.each_for_version(version: "3.3", except: failures) do |fixture| define_method(fixture.test_name) do assert_ruby_parser(fixture, todos.include?(fixture.path)) end |
