13 lines
395 B
Lua
13 lines
395 B
Lua
|
|
describe("smr imageboard parser",function()
|
|
it("should load without error",function()
|
|
local parser = require("parser_imageboard")
|
|
end)
|
|
it("should accept a string and return a string",function()
|
|
local parser = require("parser_imageboard")
|
|
local input = "Hello, world!"
|
|
local output = parser(input)
|
|
assert(type(output) == "string","Expected string, got: %s",type(output))
|
|
end)
|
|
end)
|