0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

patch 8.2.4296: Vim9: not all code covered by tests

Problem:    Vim9: not all code covered by tests.
Solution:   Add a few more tests for corner cases.  Fix hang when single quote
            is missing.
This commit is contained in:
Bram Moolenaar
2022-02-04 21:17:58 +00:00
parent 3e79c97c18
commit 83d0cec956
5 changed files with 13 additions and 2 deletions

View File

@@ -1833,6 +1833,7 @@ def Test_expr8_string()
v9.CheckDefAndScriptFailure(['var x = "abc'], 'E114:', 1)
v9.CheckDefAndScriptFailure(["var x = 'abc"], 'E115:', 1)
v9.CheckDefFailure(["if 0", "echo 'xx", "endif"], 'E115', 2)
enddef
def Test_expr8_vimvar()