testbox 0.1.0

A fast test runner that works out of the box with zero dependencies.
1
2
3
4
5
6
7
8
9
10
--[[ EXPECTED OUTPUT
📁 json_decode.lua
✅ convert json string to lua table
END EXPECTED OUTPUT --]]

test("convert json string to lua table", function()
    expect_equal(json_decode([[{"foo":"bar"}]]), {
        foo = "bar"
    })
end)