1 2 3 4 5 6 7 8 9 10 11 12
-- SPDX-License-Identifier: AGPL-3.0-only local function html(el, tbl) expect(1, el, "string") expect(2, el, "table") for k, v in pairs(tbl) do if type(k) == "string" then expect.field(tbl, k, "string", "table") end end end