aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/writefile_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-05-05 09:00:35 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-05-05 09:20:30 +0800
commitbdaaf2e8e113f8c32c70f83b60e0bf3f648357c1 (patch)
tree04ab960fec3aaaf6d139164e27ee8c4c6ff8f900 /test/functional/vimscript/writefile_spec.lua
parent15c502d8be0e9a43372a4357fdc34a5b59169798 (diff)
downloadrneovim-bdaaf2e8e113f8c32c70f83b60e0bf3f648357c1.tar.gz
rneovim-bdaaf2e8e113f8c32c70f83b60e0bf3f648357c1.tar.bz2
rneovim-bdaaf2e8e113f8c32c70f83b60e0bf3f648357c1.zip
vim-patch:9.0.0250: slightly inconsistent error messages
Problem: Slightly inconsistent error messages. Solution: Make it "Using a Float". (closes vim/vim#10959) https://github.com/vim/vim/commit/dde77a7c4d72622284dc5fb72557bde42c314fa6 Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'test/functional/vimscript/writefile_spec.lua')
-rw-r--r--test/functional/vimscript/writefile_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/vimscript/writefile_spec.lua b/test/functional/vimscript/writefile_spec.lua
index da06671fe5..521a4eb2b1 100644
--- a/test/functional/vimscript/writefile_spec.lua
+++ b/test/functional/vimscript/writefile_spec.lua
@@ -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('[]'))))