simple arrays

This commit is contained in:
Enrique García Cota
2011-04-23 20:07:57 +02:00
parent b66508cb56
commit 77104ea09e
2 changed files with 27 additions and 3 deletions

View File

@@ -2,8 +2,8 @@ local inspect = require 'inspect'
context( 'inspect', function()
test('Should work with simple arrays', function()
assert_equal(inspect( {1,2,3}
test('Should work with simple array-like tables', function()
assert_equal(inspect({1,2,3}), "{1, 2, 3}" )
end)
end)