Skip to content

Commit

Permalink
fix(tests): TypeError in basic stringify tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CompeyDev committed Nov 22, 2024
1 parent 5cdd743 commit ba5d496
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/tostring.luau
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ba5d496

Please sign in to comment.