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/lua/thread_spec.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/functional/lua/thread_spec.lua') diff --git a/test/functional/lua/thread_spec.lua b/test/functional/lua/thread_spec.lua index 7610886b47..e4ff2b8068 100644 --- a/test/functional/lua/thread_spec.lua +++ b/test/functional/lua/thread_spec.lua @@ -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 ""]: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 ""]: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}^ | ]]) -- cgit