mirror of
https://github.com/TangentFoxy/semver.lua.git
synced 2025-07-28 02:52:21 +00:00
add missing test, fixed top comment
This commit is contained in:
@@ -206,6 +206,9 @@ context('semver', function()
|
||||
it("increases the patch number by 1", function()
|
||||
assert_equal(v'1.0.1', v'1.0.0':nextPatch())
|
||||
end)
|
||||
it("resets prerelease and build", function()
|
||||
assert_equal(v'1.0.1', v'1.0.0-a+b':nextPatch())
|
||||
end)
|
||||
end)
|
||||
|
||||
describe("nextMinor", function()
|
||||
|
Reference in New Issue
Block a user