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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user