mirror of
https://github.com/neovim/neovim.git
synced 2026-04-30 11:14:10 +00:00
vim-patch:8.1.0793: incorrect error messages for functions that take a Blob
Problem: Incorrect error messages for functions that now take a Blob
argument.
Solution: Adjust the error messages. (Dominique Pelle, closes vim/vim#3846)
0d17f0d1c0
This commit is contained in:
@@ -322,16 +322,16 @@ describe('execute()', function()
|
||||
eq('Vim(call):E731: using Dictionary as a String', ret)
|
||||
|
||||
ret = exc_exec('call execute("echo add(1, 1)", "")')
|
||||
eq('Vim(echo):E714: List required', ret)
|
||||
eq('Vim(echo):E897: List or Blob required', ret)
|
||||
|
||||
ret = exc_exec('call execute(["echon 42", "echo add(1, 1)"], "")')
|
||||
eq('Vim(echo):E714: List required', ret)
|
||||
eq('Vim(echo):E897: List or Blob required', ret)
|
||||
|
||||
ret = exc_exec('call execute("echo add(1, 1)", "silent")')
|
||||
eq('Vim(echo):E714: List required', ret)
|
||||
eq('Vim(echo):E897: List or Blob required', ret)
|
||||
|
||||
ret = exc_exec('call execute(["echon 42", "echo add(1, 1)"], "silent")')
|
||||
eq('Vim(echo):E714: List required', ret)
|
||||
eq('Vim(echo):E897: List or Blob required', ret)
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user