added support for a _VERSION

This commit is contained in:
Enrique García Cota
2012-01-17 19:59:47 +01:00
parent 7cd8dbe7ae
commit 9236b3a6bc
2 changed files with 14 additions and 5 deletions

View File

@@ -257,4 +257,11 @@ context('semver', function()
end)
end)
describe("_VERSION", function()
it("can be extracted from the lib", function()
local x = v._VERSION
assert_equal('table', type(x))
end)
end)
end)