test: fix tests

This commit is contained in:
Folke Lemaitre 2024-06-25 17:42:45 +02:00
parent bc7bfb5d36
commit 8abfed457c
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ describe("semver version", function()
["1.2.3+build"] = { major = 1, minor = 2, patch = 3, build = "build" },
}
for input, output in pairs(tests) do
output.input = input
it("correctly parses " .. input, function()
assert.same(output, v(input))
end)