chore(tests): multichar prerelease ordinal case

This commit is contained in:
Erica Marigold 2024-11-21 18:23:27 +00:00
parent f6220d6295
commit 79a4205f4d
Signed by: DevComp
GPG key ID: 429EF1C337871656

View file

@ -97,7 +97,7 @@ return function()
test.case("Rejects invalid prerelease ordinals", function() test.case("Rejects invalid prerelease ordinals", function()
-- Test with character ordinal -- Test with character ordinal
local res = Semver.parse("1.2.3-beta.a") local res = Semver.parse("1.2.3-beta.abc")
check.is_true(res:isErr()) check.is_true(res:isErr())
check.table.contains(res:unwrapErr(), { check.table.contains(res:unwrapErr(), {
kind = { kind = {