Tweak ruby error test to reflect slightly different recovery
This commit is contained in:
parent
a2119cb691
commit
6b16a9687b
1 changed files with 9 additions and 6 deletions
15
test/fixtures/error_corpus/ruby_errors.txt
vendored
15
test/fixtures/error_corpus/ruby_errors.txt
vendored
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue