0
0
mirror of https://github.com/vim/vim.git synced 2025-10-28 09:27:14 -04:00

patch 8.2.4678: Vim9: not all code is tested

Problem:    Vim9: not all code is tested.
Solution:   Add a few more tests.
This commit is contained in:
Bram Moolenaar
2022-04-03 21:11:34 +01:00
parent 0b962e5685
commit 1061195057
5 changed files with 71 additions and 6 deletions

View File

@@ -1538,6 +1538,14 @@ def Test_lockvar()
d.a = 7
assert_equal({a: 7, b: 5}, d)
caught = false
try
lockvar d.c
catch /E716/
caught = true
endtry
assert_true(caught)
var lines =<< trim END
vim9script
g:bl = 0z1122