From d90d15a8dbdd4f6046e184ab42b64373f4cb13a3 Mon Sep 17 00:00:00 2001 From: Stephen Leitnick Date: Tue, 10 Dec 2024 02:49:47 -0500 Subject: [PATCH] Fix tester --- ci/Test.luau | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/Test.luau b/ci/Test.luau index 47e5ec47..e9286239 100644 --- a/ci/Test.luau +++ b/ci/Test.luau @@ -334,6 +334,9 @@ function Test.run(ancestors: { Instance }) for _, child in ancestor:GetDescendants() do if child:IsA("ModuleScript") and string.match(child.Name, "%.test$") ~= nil then local name = (string.match(child.Name, "(.+)%.test$")) or child.Name + if name == "init" then + name = child.Parent.Name + end local fn = require(child) tests[name] = fn end