From dc8014562b3128dc3725a822c32a24d6a212180e Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Tue, 14 Jan 2014 00:01:26 -0800 Subject: Fix for issue where unterminated quotes would attempt to be executed, instead of continuing edit onto the next line. --- fish_tests.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fish_tests.cpp') diff --git a/fish_tests.cpp b/fish_tests.cpp index fab10335..e2a0ec90 100644 --- a/fish_tests.cpp +++ b/fish_tests.cpp @@ -2452,7 +2452,8 @@ static void test_new_parser_errors(void) } tests[] = { - {L"echo (abc", parse_error_tokenizer}, + {L"echo 'abc", parse_error_tokenizer_unterminated_quote}, + {L"echo (abc", parse_error_tokenizer_unterminated_subshell}, {L"end", parse_error_unbalancing_end}, {L"echo hi ; end", parse_error_unbalancing_end}, -- cgit v1.2.3