aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/execute_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-06-12 14:41:19 +0800
committerGitHub <noreply@github.com>2023-06-12 14:41:19 +0800
commit551cc3a2a3e2ee180234910cbe2ef81bd37508de (patch)
treeaf539897ec260bd4ac8a8db8f3544501f455a363 /test/functional/vimscript/execute_spec.lua
parent3c4890d1efe7c23c0bff7bc4532f19cf03c94e04 (diff)
parent41ee7bc7dbcca4ce3d35c13450220d3bffcad15e (diff)
downloadrneovim-551cc3a2a3e2ee180234910cbe2ef81bd37508de.tar.gz
rneovim-551cc3a2a3e2ee180234910cbe2ef81bd37508de.tar.bz2
rneovim-551cc3a2a3e2ee180234910cbe2ef81bd37508de.zip
Merge pull request #23995 from zeertzjq/vim-8.2.1524
vim-patch:8.2.{1524,2948,2949}: Float to String conversion
Diffstat (limited to 'test/functional/vimscript/execute_spec.lua')
-rw-r--r--test/functional/vimscript/execute_spec.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/functional/vimscript/execute_spec.lua b/test/functional/vimscript/execute_spec.lua
index a9a4ad4811..bb28938708 100644
--- a/test/functional/vimscript/execute_spec.lua
+++ b/test/functional/vimscript/execute_spec.lua
@@ -93,14 +93,10 @@ describe('execute()', function()
it('captures errors', function()
local ret
- ret = exc_exec('call execute(0.0)')
- eq('Vim(call):E806: Using a Float as a String', ret)
ret = exc_exec('call execute(v:_null_dict)')
eq('Vim(call):E731: Using a Dictionary as a String', ret)
ret = exc_exec('call execute(function("tr"))')
eq('Vim(call):E729: Using a Funcref as a String', ret)
- ret = exc_exec('call execute(["echo 42", 0.0, "echo 44"])')
- eq('Vim:E806: Using a Float as a String', ret)
ret = exc_exec('call execute(["echo 42", v:_null_dict, "echo 44"])')
eq('Vim:E731: Using a Dictionary as a String', ret)
ret = exc_exec('call execute(["echo 42", function("tr"), "echo 44"])')
@@ -330,9 +326,6 @@ describe('execute()', function()
it('propagates errors for "" and "silent"', function()
local ret
- ret = exc_exec('call execute(0.0, "")')
- eq('Vim(call):E806: Using a Float as a String', ret)
-
ret = exc_exec('call execute(v:_null_dict, "silent")')
eq('Vim(call):E731: Using a Dictionary as a String', ret)