summaryrefslogtreecommitdiff
path: root/test/prism/ruby/ruby_parser_test.rb
diff options
context:
space:
mode:
authorEarlopain <14981592+Earlopain@users.noreply.github.com>2025-01-06 15:20:41 +0100
committerKevin Newton <kddnewton@gmail.com>2025-01-11 19:09:05 -0500
commit81079ebfd8ba9f672664239d73e8d875e9eeedc8 (patch)
tree6e1080cac373db886c3b226617d2367f9e9ea7f7 /test/prism/ruby/ruby_parser_test.rb
parentca81142eff98cccb03ff523322aefe4e7346fd0e (diff)
[ruby/prism] Import code samples for Ruby 3.3 from the parser gem
Slightly tweaking the import script becaues of backtrace format changes in Ruby 3.4 Most tests pass in all parsers, with only a handful of failures overall https://github.com/ruby/prism/commit/9b5b785aa4
Diffstat (limited to 'test/prism/ruby/ruby_parser_test.rb')
-rw-r--r--test/prism/ruby/ruby_parser_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/prism/ruby/ruby_parser_test.rb b/test/prism/ruby/ruby_parser_test.rb
index fe410c8144..1aa0f540cc 100644
--- a/test/prism/ruby/ruby_parser_test.rb
+++ b/test/prism/ruby/ruby_parser_test.rb
@@ -38,6 +38,9 @@ module Prism
"unparser/corpus/literal/kwbegin.txt",
"unparser/corpus/literal/send.txt",
"whitequark/masgn_const.txt",
+ "whitequark/pattern_matching_constants.txt",
+ "whitequark/pattern_matching_implicit_array_match.txt",
+ "whitequark/pattern_matching_single_match.txt",
"whitequark/ruby_bug_12402.txt",
"whitequark/ruby_bug_14690.txt",
"whitequark/space_args_block.txt"
@@ -81,6 +84,8 @@ module Prism
"whitequark/pattern_matching_single_line_allowed_omission_of_parentheses.txt",
"whitequark/pattern_matching_single_line.txt",
"whitequark/ruby_bug_11989.txt",
+ "whitequark/ruby_bug_18878.txt",
+ "whitequark/ruby_bug_19281.txt",
"whitequark/slash_newline_in_heredocs.txt"
]