diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2024-06-04 14:56:03 -0400 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-06-04 20:28:55 +0000 |
| commit | c2fb22d0eb271fd902809f3e465de71fd0f4a62a (patch) | |
| tree | aba63ad93207aabdc8e90bd05248b6abb48fb69d | |
| parent | e440804d7ad42bf244c5a20e461cd6e7beed20f3 (diff) | |
[ruby/prism] (parser) mark spanning newlines as incorrect
https://github.com/ruby/prism/commit/09ba678066
| -rw-r--r-- | test/prism/ruby/parser_test.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/prism/ruby/parser_test.rb b/test/prism/ruby/parser_test.rb index 8ca3272d7e..61ea7ae6b0 100644 --- a/test/prism/ruby/parser_test.rb +++ b/test/prism/ruby/parser_test.rb @@ -45,6 +45,10 @@ module Prism # These files contain code that is being parsed incorrectly by the parser # gem, and therefore we don't want to compare against our translation. skip_incorrect = [ + # https://github.com/whitequark/parser/issues/1017 + "spanning_heredoc.txt", + "spanning_heredoc_newlines.txt", + # https://github.com/whitequark/parser/issues/1016 "whitequark/unary_num_pow_precedence.txt" ] @@ -56,8 +60,6 @@ module Prism "heredocs_with_ignored_newlines.txt", "regex.txt", "regex_char_width.txt", - "spanning_heredoc.txt", - "spanning_heredoc_newlines.txt", "unescaping.txt", "seattlerb/bug190.txt", "seattlerb/heredoc_nested.txt", |
