1
0
forked from aniani/vim

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

@@ -1449,7 +1449,7 @@ def Test_lockvar()
ex = v:exception
endtry
assert_match('E1121:', ex)
unlockvar d.a
unlockvar d['a']
d.a = 7
assert_equal({a: 7, b: 5}, d)