add missing test, fixed top comment

This commit is contained in:
Enrique García Cota
2012-01-15 13:39:52 +01:00
parent 48ecb3b539
commit 3e432f5ca1
2 changed files with 5 additions and 3 deletions

View File

@@ -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()