mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-06-25 22:53:22 +00:00
10 lines
292 B
Lua
10 lines
292 B
Lua
local capture = require "test_helpers".capture_program
|
|
|
|
describe("The edit program", function()
|
|
|
|
it("displays its usage when given no argument", function()
|
|
expect(capture(stub, "edit"))
|
|
:matches { ok = true, output = "Usage: edit <path>\n", error = "" }
|
|
end)
|
|
end)
|