aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2020-02-08 17:16:43 -0800
committerJustin M. Keyes <justinkz@gmail.com>2020-02-16 17:52:48 -0800
commitc15bd6cd279dbed5d246af05c4c0625387be02af (patch)
treee2f65ea0b2df719f5cd9f5e1bf5f36583c219cdd /runtime/lua/vim/lsp.lua
parentb04165859d0c11e2bdcacd50efb0ec6c2b2a6c0c (diff)
downloadrneovim-c15bd6cd279dbed5d246af05c4c0625387be02af.tar.gz
rneovim-c15bd6cd279dbed5d246af05c4c0625387be02af.tar.bz2
rneovim-c15bd6cd279dbed5d246af05c4c0625387be02af.zip
test/LSP: use less-generic exit code
- os.exit(1) is too generic, since code 1 may be caused by Nvim exiting for some other reason. Change it to os.exit(101). - style: de-architect json_encode/json_decode calls. Failure seen in travis macOS job: https://travis-ci.org/neovim/neovim/jobs/647849133 [ FAILED ] test/functional/plugin/lsp_spec.lua@ 266 SP basic_init test should not send didOpen if the buffer closes before init test/functional/plugin/lsp_spec.lua:297: exit code Expected objects to be the same. Passed in: (number) 1 Expected: (number) 0 stack traceback: test/functional/plugin/lsp_spec.lua:297: in function 'on_exit' test/functional/plugin/lsp_spec.lua:100: in function 'test_rpc_server' test/functional/plugin/lsp_spec.lua:272: in function <test/functional/plugin/lsp_spec.lua:266>
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
0 files changed, 0 insertions, 0 deletions