diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2020-12-02 18:37:18 +0000 |
---|---|---|
committer | Sean Dewar <seandewar@users.noreply.github.com> | 2021-09-15 22:30:31 +0100 |
commit | c57132ec2a9c16facff7858c8610c3206398fe7e (patch) | |
tree | 922b9534d9798ff4c57417aeeb1f9de4fc82f8e9 /test/functional/lua/vim_spec.lua | |
parent | 6a02ccc2226ab427d7e6243a5b6d3e424557b0fd (diff) | |
download | rneovim-c57132ec2a9c16facff7858c8610c3206398fe7e.tar.gz rneovim-c57132ec2a9c16facff7858c8610c3206398fe7e.tar.bz2 rneovim-c57132ec2a9c16facff7858c8610c3206398fe7e.zip |
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)
https://github.com/vim/vim/commit/0d17f0d1c09fa6db306336695ba646c21ea24909
Diffstat (limited to 'test/functional/lua/vim_spec.lua')
-rw-r--r-- | test/functional/lua/vim_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/vim_spec.lua b/test/functional/lua/vim_spec.lua index 2bedbd1453..a066cfbc10 100644 --- a/test/functional/lua/vim_spec.lua +++ b/test/functional/lua/vim_spec.lua @@ -739,7 +739,7 @@ describe('lua stdlib', function() eq({NIL, NIL}, exec_lua([[return vim.fn.Nilly()]])) -- error handling - eq({false, 'Vim:E714: List required'}, exec_lua([[return {pcall(vim.fn.add, "aa", "bb")}]])) + eq({false, 'Vim:E897: List or Blob required'}, exec_lua([[return {pcall(vim.fn.add, "aa", "bb")}]])) end) it('vim.fn should error when calling API function', function() |