We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee1199e commit fd41084Copy full SHA for fd41084
test/functional/helpers.lua
@@ -827,6 +827,16 @@ return function(after_each)
827
error(msg[3][2])
828
end
829
830
+
831
+ if not session.child_exit then
832
+ session:close()
833
+ end
834
+ if session.child_exit then -- requires newer neovim-lua-client (WIP).
835
+ if session.child_exit ~= 0 or session.child_signal ~= 0 then
836
+ busted.fail(string.format("child exited non-zero (exitcode=%d, signal=%d)",
837
+ session.child_exit, session.child_signal))
838
839
840
841
end)
842
0 commit comments