We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fde9cf3 commit 4da48c3Copy full SHA for 4da48c3
tests/love2d/love2d_spec.lua
@@ -31,4 +31,13 @@ describe("love2d mac", function()
31
vim.wait(500) -- wait for on_exit to be called
32
assert.equal(0, love2d.job.exit_code)
33
end)
34
+ it("stops", function()
35
+ love2d.setup({ path_to_love = "/Applications/love.app/Contents/MacOS/love" })
36
+ love2d.run("tests/game")
37
+ vim.wait(1000)
38
+ love2d.stop()
39
+ vim.wait(500)
40
+ assert.equal(nil, love2d.job.id)
41
+ assert.equal(0, love2d.job.exit_code)
42
+ end)
43
0 commit comments