diff --git a/inspect.lua b/inspect.lua index 386614c..172b003 100644 --- a/inspect.lua +++ b/inspect.lua @@ -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 = [[ diff --git a/inspect.tl b/inspect.tl index 4ee3d10..9bef1b5 100644 --- a/inspect.tl +++ b/inspect.tl @@ -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 = [[ diff --git a/spec/inspect_spec.lua b/spec/inspect_spec.lua index bcdb122..45fbcc0 100644 --- a/spec/inspect_spec.lua +++ b/spec/inspect_spec.lua @@ -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))