From 4820a44c7b57f56a70a3622bbd2dbd9945f5de5b Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Tue, 7 Jan 2025 15:00:38 +0100 Subject: [PATCH] Move a parser translator test to a known failure That issue is exactly about what this test file contains: A single-quoted heredocs with backslashes --- test/prism/ruby/parser_test.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/prism/ruby/parser_test.rb b/test/prism/ruby/parser_test.rb index b440c8955f..55671cc72e 100644 --- a/test/prism/ruby/parser_test.rb +++ b/test/prism/ruby/parser_test.rb @@ -53,7 +53,10 @@ class ParserTest < TestCase "seattlerb/heredoc_nested.txt", # https://github.com/whitequark/parser/issues/1016 - "whitequark/unary_num_pow_precedence.txt" + "whitequark/unary_num_pow_precedence.txt", + + # https://github.com/whitequark/parser/issues/950 + "whitequark/dedenting_interpolating_heredoc_fake_line_continuation.txt", ] # These files are either failing to parse or failing to translate, so we'll @@ -69,7 +72,6 @@ class ParserTest < TestCase "seattlerb/regexp_esc_C_slash.txt", "unparser/corpus/literal/literal.txt", "unparser/corpus/semantic/dstr.txt", - "whitequark/dedenting_interpolating_heredoc_fake_line_continuation.txt", "whitequark/parser_slash_slash_n_escaping_in_literals.txt", ]