diff options
| author | Earlopain <14981592+Earlopain@users.noreply.github.com> | 2025-09-02 13:29:35 +0200 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2025-09-12 15:00:01 -0400 |
| commit | f2dbc4ec82a0e103ac1e3f64f5983540cdc75fd3 (patch) | |
| tree | b57c5d8ef36807b68ea34d4751eb522e717116a3 /test/prism/ruby/ruby_parser_test.rb | |
| parent | 120d3b12a9981f547b07c937dd183c0abe77c6cb (diff) | |
[ruby/prism] [Bug #17398] Allow `private def hello = puts "Hello"`
This was a limitation of parse.y that prism intentionally replicated.
https://github.com/ruby/prism/commit/8fd12d594c
Diffstat (limited to 'test/prism/ruby/ruby_parser_test.rb')
| -rw-r--r-- | test/prism/ruby/ruby_parser_test.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/prism/ruby/ruby_parser_test.rb b/test/prism/ruby/ruby_parser_test.rb index f4f0f331fb..bcaed79791 100644 --- a/test/prism/ruby/ruby_parser_test.rb +++ b/test/prism/ruby/ruby_parser_test.rb @@ -74,7 +74,10 @@ module Prism "whitequark/ruby_bug_11989.txt", "whitequark/ruby_bug_18878.txt", "whitequark/ruby_bug_19281.txt", - "whitequark/slash_newline_in_heredocs.txt" + "whitequark/slash_newline_in_heredocs.txt", + + # Ruby >= 3.5 specific syntax + "endless_methods_command_call.txt", ] Fixture.each(except: failures) do |fixture| |
