mirror of
https://github.com/neovim/neovim.git
synced 2026-04-04 22:59:36 +00:00
feat(messages): cleanup Lua error messages
"Error" in error messages is redundant. Just provide the context, don't say "Error ...".
This commit is contained in:
@@ -222,7 +222,7 @@ describe('server -> client', function()
|
||||
|
||||
it('returns an error if the request failed', function()
|
||||
eq(
|
||||
"Vim:Error invoking 'does-not-exist' on channel 3:\nInvalid method: does-not-exist",
|
||||
"Vim:Invoking 'does-not-exist' on channel 3:\nInvalid method: does-not-exist",
|
||||
pcall_err(eval, "rpcrequest(vim, 'does-not-exist')")
|
||||
)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user