From c2fb22d0eb271fd902809f3e465de71fd0f4a62a Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Tue, 4 Jun 2024 14:56:03 -0400 Subject: [ruby/prism] (parser) mark spanning newlines as incorrect https://github.com/ruby/prism/commit/09ba678066 --- test/prism/ruby/parser_test.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test') 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", -- cgit v1.2.3