mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
vim-patch:9.0.0250: slightly inconsistent error messages
Problem: Slightly inconsistent error messages.
Solution: Make it "Using a Float". (closes vim/vim#10959)
dde77a7c4d
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -145,7 +145,7 @@ describe('writefile()', function()
|
||||
pcall_err(command, ('call writefile(%s, "%s", "b")'):format(arg, fname)))
|
||||
end
|
||||
for _, args in ipairs({'[], %s, "b"', '[], "' .. fname .. '", %s'}) do
|
||||
eq('Vim(call):E806: Using Float as a String',
|
||||
eq('Vim(call):E806: Using a Float as a String',
|
||||
pcall_err(command, ('call writefile(%s)'):format(args:format('0.0'))))
|
||||
eq('Vim(call):E730: Using a List as a String',
|
||||
pcall_err(command, ('call writefile(%s)'):format(args:format('[]'))))
|
||||
|
Reference in New Issue
Block a user