mirror of
https://github.com/0x5eal/semver-luau.git
synced 2025-03-04 11:11:39 +00:00
chore(tests): multichar prerelease ordinal case
This commit is contained in:
parent
f6220d6295
commit
79a4205f4d
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…
Add table
Reference in a new issue