inspect Usage local inspect = require("inspect") local table = {a={b=2}} local result = inspect(table, {newline="", indent=""}) if not(result == "{a = {b = 2}}") then error("inspect") end