From a885998948afaa3e8069ba491cbdba6e38c81ed2 Mon Sep 17 00:00:00 2001 From: Aaron Weiss Date: Tue, 17 Dec 2024 11:37:30 -0800 Subject: [PATCH] fix a silly problem with RequireByString.test.cpp depending on the repository being checked out as `luau` --- tests/RequireByString.test.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/RequireByString.test.cpp b/tests/RequireByString.test.cpp index 4f225eb3d..ff00a681b 100644 --- a/tests/RequireByString.test.cpp +++ b/tests/RequireByString.test.cpp @@ -116,7 +116,7 @@ class ReplWithPathFixture for (int i = 0; i < 20; ++i) { bool engineTestDir = isDirectory(luauDirAbs + "/Client/Luau/tests"); - bool luauTestDir = isDirectory(luauDirAbs + "/luau/tests/require"); + bool luauTestDir = isDirectory(luauDirAbs + "/tests/require"); if (engineTestDir || luauTestDir) { @@ -125,12 +125,6 @@ class ReplWithPathFixture luauDirRel += "/Client/Luau"; luauDirAbs += "/Client/Luau"; } - else - { - luauDirRel += "/luau"; - luauDirAbs += "/luau"; - } - if (type == PathType::Relative) return luauDirRel;