mirror of
https://github.com/vim/vim.git
synced 2025-10-28 09:27:14 -04:00
patch 8.2.3859: Vim9: some code lines not tested
Problem: Vim9: some code lines not tested. Solution: Add a few specific tests.
This commit is contained in:
@@ -1392,6 +1392,10 @@ def Test_lockvar()
|
||||
s:theList[1] = 44
|
||||
assert_equal([1, 44, 3], s:theList)
|
||||
|
||||
if 0
|
||||
lockvar whatever
|
||||
endif
|
||||
|
||||
var d = {a: 1, b: 2}
|
||||
d.a = 3
|
||||
d.b = 4
|
||||
|
||||
Reference in New Issue
Block a user