mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-06-14 01:06:48 +00:00
e05c262468
I'm not entirely sure how useful all of these will be yet - still trying to work out what/when to test things, but hopefully this'll be a useful datapoint.
9 lines
295 B
Lua
9 lines
295 B
Lua
local capture = require "test_helpers".capture_program
|
|
|
|
describe("The help program", function()
|
|
it("errors when there is no such help file", function()
|
|
expect(capture(stub, "help nothing"))
|
|
:matches { ok = true, output = "No help available\n", error = "" }
|
|
end)
|
|
end)
|