aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/command_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2021-08-23 02:37:07 -0700
committerJustin M. Keyes <justinkz@gmail.com>2025-05-04 11:22:57 -0400
commitfc2dee17368d76e7e845872990bb6fdef1c6bf54 (patch)
tree6c8862b5b1d17c86bf3bc61065e1c9a8456cb415 /test/functional/api/command_spec.lua
parentaf4f7f1618ad6e11d616b2c69af8945f46d0e199 (diff)
downloadrneovim-fc2dee17368d76e7e845872990bb6fdef1c6bf54.tar.gz
rneovim-fc2dee17368d76e7e845872990bb6fdef1c6bf54.tar.bz2
rneovim-fc2dee17368d76e7e845872990bb6fdef1c6bf54.zip
feat(messages): cleanup Lua error messages
"Error" in error messages is redundant. Just provide the context, don't say "Error ...".
Diffstat (limited to 'test/functional/api/command_spec.lua')
-rw-r--r--test/functional/api/command_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/api/command_spec.lua b/test/functional/api/command_spec.lua
index d332576fb4..49b26ab521 100644
--- a/test/functional/api/command_spec.lua
+++ b/test/functional/api/command_spec.lua
@@ -689,7 +689,7 @@ describe('nvim_create_user_command', function()
})
]])
feed(':Test <Tab>')
- eq('E5108: Error executing Lua function: [NULL]', api.nvim_get_vvar('errmsg'))
+ eq('E5108: Lua function: [NULL]', api.nvim_get_vvar('errmsg'))
eq('Test ', fn.getcmdline())
assert_alive()
end)