diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-05-26 18:11:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-26 18:11:49 +0200 |
commit | aabda31d5491398783ba70b2e24c58e68454db28 (patch) | |
tree | d7e098a649e5a13a2ff118d827a1a32078db60a1 /test/functional/provider/python3_spec.lua | |
parent | 2b4c0181ba5a064b13f4e96e364124245e6f494c (diff) | |
parent | 8ed54bbec3b07d16658547d6bf38a1e804800341 (diff) | |
download | rneovim-aabda31d5491398783ba70b2e24c58e68454db28.tar.gz rneovim-aabda31d5491398783ba70b2e24c58e68454db28.tar.bz2 rneovim-aabda31d5491398783ba70b2e24c58e68454db28.zip |
Merge pull request #9547 from bfredl/rpc_multiline_err
messages: use proper multiline errors for rpcrequest and API wrappers
Diffstat (limited to 'test/functional/provider/python3_spec.lua')
-rw-r--r-- | test/functional/provider/python3_spec.lua | 4 |
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() |