mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 05:41:16 -03:00
Fix for issue in new parser where no error would be reported if the very
first token is an error. Fixes #1239.
This commit is contained in:
@@ -2453,6 +2453,7 @@ static void test_new_parser_errors(void)
|
||||
tests[] =
|
||||
{
|
||||
{L"echo 'abc", parse_error_tokenizer_unterminated_quote},
|
||||
{L"'", parse_error_tokenizer_unterminated_quote},
|
||||
{L"echo (abc", parse_error_tokenizer_unterminated_subshell},
|
||||
|
||||
{L"end", parse_error_unbalancing_end},
|
||||
|
||||
Reference in New Issue
Block a user