mirror of
https://github.com/neovim/neovim.git
synced 2026-01-24 05:40:35 +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:
@@ -31,7 +31,7 @@ describe('thread', function()
|
||||
|
|
||||
{1:~ }|*5
|
||||
{3: }|
|
||||
{9:Error in luv thread:} |
|
||||
{9:Luv thread:} |
|
||||
{9:[NULL]} |
|
||||
{6:Press ENTER or type command to continue}^ |
|
||||
]])
|
||||
@@ -51,7 +51,7 @@ describe('thread', function()
|
||||
|
|
||||
{1:~ }|*5
|
||||
{3: }|
|
||||
{9:Error in luv thread:} |
|
||||
{9:Luv thread:} |
|
||||
{9:[string "<nvim>"]:2: Error in thread entry func} |
|
||||
{6:Press ENTER or type command to continue}^ |
|
||||
]])
|
||||
@@ -78,7 +78,7 @@ describe('thread', function()
|
||||
|
|
||||
{1:~ }|*5
|
||||
{3: }|
|
||||
{9:Error in luv callback, thread:} |
|
||||
{9:Luv callback, thread:} |
|
||||
{9:[string "<nvim>"]:6: Error in thread callback} |
|
||||
{6:Press ENTER or type command to continue}^ |
|
||||
]])
|
||||
@@ -286,7 +286,7 @@ describe('threadpool', function()
|
||||
|
|
||||
{1:~ }|*5
|
||||
{3: }|
|
||||
{9:Error in luv thread:} |
|
||||
{9:Luv thread:} |
|
||||
{9:Error: thread arg not support type 'table' at 1} |
|
||||
{6:Press ENTER or type command to continue}^ |
|
||||
]])
|
||||
|
||||
Reference in New Issue
Block a user