summaryrefslogtreecommitdiffstatshomepage
path: root/test/functional/vimscript/execute_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/vimscript/execute_spec.lua
parentaf4f7f1618ad6e11d616b2c69af8945f46d0e199 (diff)
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/vimscript/execute_spec.lua')
-rw-r--r--test/functional/vimscript/execute_spec.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/functional/vimscript/execute_spec.lua b/test/functional/vimscript/execute_spec.lua
index 2404538e77..457f7d184e 100644
--- a/test/functional/vimscript/execute_spec.lua
+++ b/test/functional/vimscript/execute_spec.lua
@@ -214,9 +214,9 @@ describe('execute()', function()
-- echoerr does not set did_emsg
-- "ef" was overwritten since msg_col was recovered wrongly
screen:expect([[
+ {3: }|
1234 |
- {9:Error detected while processing function}|
- {9: Test4:} |
+ {9:Error in function Test4:} |
{8:line 2:} |
{9:abcd}ABCD |
{6:Press ENTER or type command to continue}^ |
@@ -232,9 +232,9 @@ describe('execute()', function()
feed([[:call Test6()<cr>]])
screen:expect([[
+ {3: }|
|
- {9:Error detected while processing function}|
- {9: Test6:} |
+ {9:Error in function Test6:} |
{8:line 2:} |
{9:E121}ABCD |
{6:Press ENTER or type command to continue}^ |
@@ -242,8 +242,8 @@ describe('execute()', function()
feed([[:call Test7()<cr>]])
screen:expect([[
- {9:Error detected while processing function}|
- {9: Test6:} |
+ |
+ {9:Error in function Test6:} |
{8:line 2:} |
{9:E121}ABCD |
ABCD |