diff options
Diffstat (limited to 'tests/heredoc.right')
-rw-r--r-- | tests/heredoc.right | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/tests/heredoc.right b/tests/heredoc.right index b8754de..6abaa1f 100644 --- a/tests/heredoc.right +++ b/tests/heredoc.right @@ -58,7 +58,34 @@ qux bar qux +abc def geh +./heredoc3.sub: line 6: warning: here-document at line 4 delimited by end-of-file (wanted `EOF') += here is the text = +./heredoc3.sub: line 12: warning: here-document at line 10 delimited by end-of-file (wanted `EOF') +this paren ) is not a problem +./heredoc3.sub: line 18: warning: here-document at line 16 delimited by end-of-file (wanted `EOF') +these balanced parens ( ) are not a problem +./heredoc3.sub: line 24: warning: here-document at line 22 delimited by end-of-file (wanted `EOF') +quoted balanced parens \( ) are not a problem either +more text in a subshell +some more text in a different subshell +end +hello +hello +ENDEND +end ENDEND +hello +end hello +x star x +end x*x +helloEND +end helloEND +hello +\END +end hello<NL>\END +./heredoc3.sub: line 74: warning: here-document at line 72 delimited by end-of-file (wanted `EOF') +./heredoc3.sub: line 75: syntax error: unexpected end of file comsub here-string -./heredoc.tests: line 100: warning: here-document at line 98 delimited by end-of-file (wanted `EOF') +./heredoc.tests: line 105: warning: here-document at line 103 delimited by end-of-file (wanted `EOF') hi there |