aboutsummaryrefslogtreecommitdiff
path: root/test/functional/provider/python3_spec.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-01-24 19:15:39 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2019-05-26 15:42:16 +0200
commit8ed54bbec3b07d16658547d6bf38a1e804800341 (patch)
tree404fd83325f4d6193b1b3d2c0c8ea7838d95e742 /test/functional/provider/python3_spec.lua
parente0348c610c5f84c03f69f638effab27d0c784c7f (diff)
downloadrneovim-8ed54bbec3b07d16658547d6bf38a1e804800341.tar.gz
rneovim-8ed54bbec3b07d16658547d6bf38a1e804800341.tar.bz2
rneovim-8ed54bbec3b07d16658547d6bf38a1e804800341.zip
messages: use proper multiline error message for rpcrequest and API wrappers
Diffstat (limited to 'test/functional/provider/python3_spec.lua')
-rw-r--r--test/functional/provider/python3_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/provider/python3_spec.lua b/test/functional/provider/python3_spec.lua
index 3a33109079..68d4d1e2a1 100644
--- a/test/functional/provider/python3_spec.lua
+++ b/test/functional/provider/python3_spec.lua
@@ -40,8 +40,8 @@ describe('python3 provider', function()
-- mostly bogus.
local very_long_symbol = string.rep('a', 1200)
feed_command(':silent! py3 print('..very_long_symbol..' b)')
- -- Truncated error message would not contain this (last) line.
- eq('SyntaxError: invalid syntax', eval('v:errmsg'))
+ -- Error message will contain this (last) line.
+ eq('Error invoking \'python_execute\' on channel 3 (python3-script-host):\n File "<string>", line 1\n print('..very_long_symbol..' b)\n '..string.rep(' ',1200)..' ^\nSyntaxError: invalid syntax', eval('v:errmsg'))
end)
it('python3_execute with nested commands', function()