forked from aniani/vim
patch 9.0.0230: no error for comma missing in list in :def function
Problem: No error for comma missing in list in :def function. Solution: Check for missing comma. (closes #10943)
This commit is contained in:
@@ -3274,7 +3274,7 @@ def Test_vim9_comment_not_compiled()
|
||||
|
||||
v9.CheckScriptSuccess([
|
||||
'vim9script',
|
||||
'new'
|
||||
'new',
|
||||
'setline(1, ["# define pat", "last"])',
|
||||
':$',
|
||||
'dsearch /pat/ #comment',
|
||||
@@ -3283,7 +3283,7 @@ def Test_vim9_comment_not_compiled()
|
||||
|
||||
v9.CheckScriptFailure([
|
||||
'vim9script',
|
||||
'new'
|
||||
'new',
|
||||
'setline(1, ["# define pat", "last"])',
|
||||
':$',
|
||||
'dsearch /pat/#comment',
|
||||
|
Reference in New Issue
Block a user