mirror of
https://github.com/vim/vim.git
synced 2025-10-05 05:34:07 -04:00
patch 8.2.5025: Vim9: a few lines not covered by tests
Problem: Vim9: a few lines not covered by tests. Solution: Add a few tests.
This commit is contained in:
@@ -213,6 +213,8 @@ def Test_assignment()
|
||||
v9.CheckDefFailure(['var s:var = 123'], 'E1101:')
|
||||
v9.CheckDefFailure(['var s:var: number'], 'E1101:')
|
||||
|
||||
v9.CheckDefAndScriptFailure(['var $VAR: number'], ['E1016:', 'E475:'])
|
||||
|
||||
lines =<< trim END
|
||||
vim9script
|
||||
def SomeFunc()
|
||||
|
Reference in New Issue
Block a user