From fc2dee17368d76e7e845872990bb6fdef1c6bf54 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 23 Aug 2021 02:37:07 -0700 Subject: feat(messages): cleanup Lua error messages "Error" in error messages is redundant. Just provide the context, don't say "Error ...". --- test/functional/api/command_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/api/command_spec.lua') 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 ') - 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) -- cgit