diff options
author | 2014-01-14 00:01:26 -0800 | |
---|---|---|
committer | 2014-01-14 00:02:18 -0800 | |
commit | dc8014562b3128dc3725a822c32a24d6a212180e (patch) | |
tree | 6c9f25600ca1353aa356a7dca486b9e461cacb4d /fish_tests.cpp | |
parent | b9394b9599c2449a1f542979eba6c0dc51e13b21 (diff) |
Fix for issue where unterminated quotes would attempt to be executed,
instead of continuing edit onto the next line.
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r-- | fish_tests.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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}, |