aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/null_spec.lua
diff options
context:
space:
mode:
authorFabian <f.vioel@googlemail.com>2021-10-29 04:13:40 +0200
committerGitHub <noreply@github.com>2021-10-28 22:13:40 -0400
commit1dbbaf89bf5d3bcd1edac3af9938c2e2dd18f816 (patch)
tree1b1f9fd16f4405af5fe82744f42165a085d3a121 /test/functional/vimscript/null_spec.lua
parentbb79e05f811968b398b3bedf95c012c888b96e44 (diff)
downloadrneovim-1dbbaf89bf5d3bcd1edac3af9938c2e2dd18f816.tar.gz
rneovim-1dbbaf89bf5d3bcd1edac3af9938c2e2dd18f816.tar.bz2
rneovim-1dbbaf89bf5d3bcd1edac3af9938c2e2dd18f816.zip
fix(eval): checking for a non-empty string is too strict (#15987)
Cherry-pick check_for_nonempty_string() from patch vim-8.2.2133 and apply it on the bases of https://github.com/neovim/neovim/pull/13489 https://github.com/vim/vim/commit/2a9d5d386bea8455b37c1accebc45683ec51d6fb
Diffstat (limited to 'test/functional/vimscript/null_spec.lua')
-rw-r--r--test/functional/vimscript/null_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/vimscript/null_spec.lua b/test/functional/vimscript/null_spec.lua
index 7ecbcd2fd6..f23f00bcc5 100644
--- a/test/functional/vimscript/null_spec.lua
+++ b/test/functional/vimscript/null_spec.lua
@@ -161,7 +161,7 @@ describe('NULL', function()
null_test('does not crash :echomsg', 'echomsg S', 0)
null_test('does not crash :execute', 'execute S', 0)
null_expr_test('does not crash execute()', 'execute(S)', 0, '')
- null_expr_test('makes executable() error out', 'executable(S)', 'E928: String required', 0)
+ null_expr_test('does not crash executable()', 'executable(S)', 0, 0)
null_expr_test('makes timer_start() error out', 'timer_start(0, S)', 'E921: Invalid callback argument', -1)
null_expr_test('does not crash filereadable()', 'filereadable(S)', 0, 0)
null_expr_test('does not crash filewritable()', 'filewritable(S)', 0, 0)