mirror of https://github.com/folke/lazy.nvim.git
test: fix tests
This commit is contained in:
parent
bc7bfb5d36
commit
8abfed457c
|
@ -14,6 +14,7 @@ describe("semver version", function()
|
||||||
["1.2.3+build"] = { major = 1, minor = 2, patch = 3, build = "build" },
|
["1.2.3+build"] = { major = 1, minor = 2, patch = 3, build = "build" },
|
||||||
}
|
}
|
||||||
for input, output in pairs(tests) do
|
for input, output in pairs(tests) do
|
||||||
|
output.input = input
|
||||||
it("correctly parses " .. input, function()
|
it("correctly parses " .. input, function()
|
||||||
assert.same(output, v(input))
|
assert.same(output, v(input))
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue