mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -04:00
patch 8.2.2573: Vim9: using inalid pointer for error message
Problem: Vim9: using inalid pointer for error message. Solution: Use the right pointer. (closes #7921)
This commit is contained in:
@@ -1254,6 +1254,17 @@ def Test_expr5_vim9script()
|
||||
echo 'a' .. function('len')
|
||||
END
|
||||
CheckScriptFailure(lines, 'E729:', 2)
|
||||
|
||||
lines =<< trim END
|
||||
vim9script
|
||||
new
|
||||
['']->setline(1)
|
||||
/pattern
|
||||
|
||||
eval 0
|
||||
bwipe!
|
||||
END
|
||||
CheckScriptFailure(lines, "E1004: White space required before and after '/' at \"/pattern")
|
||||
enddef
|
||||
|
||||
def Test_expr5_vim9script_channel()
|
||||
|
Reference in New Issue
Block a user