Human-readable representation of Lua tables
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
inspect.lua/spec/inspect_spec.lua

10 lines
193 B

14 years ago
local inspect = require 'inspect'
context( 'inspect', function()
14 years ago
test('Should work with simple array-like tables', function()
assert_equal(inspect({1,2,3}), "{1, 2, 3}" )
end)
14 years ago
end)