From ba5d49661f517f30a0e564940293c72606747edb Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Fri, 22 Nov 2024 05:57:30 +0000 Subject: [PATCH] fix(tests): TypeError in basic stringify tests --- tests/tostring.luau | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/tostring.luau b/tests/tostring.luau index b0dae7b..4118e3f 100644 --- a/tests/tostring.luau +++ b/tests/tostring.luau @@ -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)