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:
Justin M. Keyes
2021-08-23 02:37:07 -07:00
parent af4f7f1618
commit fc2dee1736
42 changed files with 302 additions and 377 deletions

View File

@@ -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}^ |
]])