mirror of
https://github.com/0x5eal/semver-luau.git
synced 2024-12-12 15:00:36 +00:00
fix(tests): TypeError in basic stringify tests
This commit is contained in:
parent
12cad2ff0b
commit
943136bb28
1 changed files with 4 additions and 1 deletions
|
@ -48,7 +48,10 @@ return function()
|
|||
},
|
||||
}
|
||||
|
||||
for expectedString, version in versionMap do
|
||||
-- FIXME: unknown usage here is because these types are too complex for
|
||||
-- Luau to typecheck properly, we cast it manually since the above
|
||||
-- map is typed properly anyway
|
||||
for expectedString, version: unknown in versionMap do
|
||||
local constructed = Semver.new(version :: Semver.Version)
|
||||
local stringified = tostring(constructed)
|
||||
|
||||
|
|
Loading…
Reference in a new issue