From 6b16a9687be5cce933564dc932a0f50fab4e6406 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Mon, 12 Jun 2023 13:45:43 -0700 Subject: [PATCH] Tweak ruby error test to reflect slightly different recovery --- test/fixtures/error_corpus/ruby_errors.txt | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/test/fixtures/error_corpus/ruby_errors.txt b/test/fixtures/error_corpus/ruby_errors.txt index df160811..88e7ee37 100644 --- a/test/fixtures/error_corpus/ruby_errors.txt +++ b/test/fixtures/error_corpus/ruby_errors.txt @@ -1,10 +1,11 @@ ========================== -Heredocs with errors +Heredocs with errors 2 ========================== -joins(<<~SQL( +joins <<~SQL b SQL +) c --- @@ -12,8 +13,10 @@ c (program (call method: (identifier) - (ERROR (heredoc_beginning)) arguments: (argument_list - (heredoc_body (heredoc_content) (heredoc_end)) - (identifier) - (MISSING ")")))) + (heredoc_beginning))) + (heredoc_body + (heredoc_content) + (heredoc_end)) + (ERROR) + (identifier))