diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2021-08-23 02:37:07 -0700 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2025-05-04 11:22:57 -0400 |
| commit | fc2dee17368d76e7e845872990bb6fdef1c6bf54 (patch) | |
| tree | 6c8862b5b1d17c86bf3bc61065e1c9a8456cb415 /test/functional/lua/thread_spec.lua | |
| parent | af4f7f1618ad6e11d616b2c69af8945f46d0e199 (diff) | |
| download | rneovim-fc2dee17368d76e7e845872990bb6fdef1c6bf54.tar.gz rneovim-fc2dee17368d76e7e845872990bb6fdef1c6bf54.tar.bz2 rneovim-fc2dee17368d76e7e845872990bb6fdef1c6bf54.zip | |
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/lua/thread_spec.lua')
| -rw-r--r-- | test/functional/lua/thread_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
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 "<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}^ | ]]) |