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
167 B

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