Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion inspect.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ local inspect = { Options = {} }



inspect._VERSION = 'inspect.lua 3.1.0'
inspect._VERSION = 'inspect.lua 3.1.3'
inspect._URL = 'http://github.com/kikito/inspect.lua'
inspect._DESCRIPTION = 'human-readable representations of tables'
inspect._LICENSE = [[
Expand Down
2 changes: 1 addition & 1 deletion inspect.tl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ local record inspect
end
end

inspect._VERSION = 'inspect.lua 3.1.0'
inspect._VERSION = 'inspect.lua 3.1.3'
inspect._URL = 'http://github.com/kikito/inspect.lua'
inspect._DESCRIPTION = 'human-readable representations of tables'
inspect._LICENSE = [[
Expand Down
6 changes: 6 additions & 0 deletions spec/inspect_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ local has_rawlen = type(_G.rawlen) == 'function'

describe( 'inspect', function()

describe('_VERSION', function()
it('matches the latest released version', function()
assert.equals('inspect.lua 3.1.3', inspect._VERSION)
end)
end)

describe('numbers', function()
it('works', function()
assert.equals("1", inspect(1))
Expand Down