aboutsummaryrefslogtreecommitdiff
path: root/test/functional/provider/python3_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2021-08-23 02:37:07 -0700
committerJustin M. Keyes <justinkz@gmail.com>2025-05-04 11:22:57 -0400
commitfc2dee17368d76e7e845872990bb6fdef1c6bf54 (patch)
tree6c8862b5b1d17c86bf3bc61065e1c9a8456cb415 /test/functional/provider/python3_spec.lua
parentaf4f7f1618ad6e11d616b2c69af8945f46d0e199 (diff)
downloadrneovim-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/provider/python3_spec.lua')
-rw-r--r--test/functional/provider/python3_spec.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/provider/python3_spec.lua b/test/functional/provider/python3_spec.lua
index 71a067d3d2..8b2756c019 100644
--- a/test/functional/provider/python3_spec.lua
+++ b/test/functional/provider/python3_spec.lua
@@ -65,11 +65,11 @@ describe('python3 provider', function()
matches(
string.format(
dedent([[
- ^Error invoking 'python_execute' on channel 3 %%(python3%%-script%%-host%%):
- File "<string>", line 1
- print%%(%s b%%)
- %%C*
- SyntaxError: invalid syntax%%C*$]]),
+ ^Invoking 'python_execute' on channel 3 %%(python3%%-script%%-host%%):
+ File "<string>", line 1
+ print%%(%s b%%)
+ %%C*
+ SyntaxError: invalid syntax%%C*$]]),
very_long_symbol
),
eval('v:errmsg')