mirror of
https://github.com/0x5eal/semver-luau.git
synced 2024-12-13 08:30:36 +00:00
chore(tests): multichar prerelease ordinal case
This commit is contained in:
parent
fe321dda7b
commit
812a024689
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue