CC-Tweaked/src/test/resources/test-rom/spec/programs/peripherals_spec.lua

9 lines
307 B
Lua

local capture = require "test_helpers".capture_program
describe("The peripherals program", function()
it("says when there are no peripherals", function()
expect(capture(stub, "peripherals"))
:matches { ok = true, output = "Attached Peripherals:\nNone\n", error = "" }
end)
end)