From 091c73038f6c9b34c4e60fe7c0bdc93125835141 Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Sun, 29 Jan 2023 18:59:51 -0500 Subject: [PATCH] Fix require-d test modules not returning anything --- src/tests/require/tests/children.luau | 2 ++ src/tests/require/tests/parents.luau | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/tests/require/tests/children.luau b/src/tests/require/tests/children.luau index 30ec035..79dcf94 100644 --- a/src/tests/require/tests/children.luau +++ b/src/tests/require/tests/children.luau @@ -5,3 +5,5 @@ assert(module.Foo == "Bar", "Required module did not contain correct values") assert(module.Hello == "World", "Required module did not contain correct values") require("modules/module") + +return true diff --git a/src/tests/require/tests/parents.luau b/src/tests/require/tests/parents.luau index 35abaa0..3a4fe1f 100644 --- a/src/tests/require/tests/parents.luau +++ b/src/tests/require/tests/parents.luau @@ -3,3 +3,5 @@ local module = require("../modules/module") assert(type(module) == "table", "Required module did not return a table") assert(module.Foo == "Bar", "Required module did not contain correct values") assert(module.Hello == "World", "Required module did not contain correct values") + +return true