Skip to content

Commit

Permalink
fix a silly problem with RequireByString.test.cpp depending on the re…
Browse files Browse the repository at this point in the history
…pository being checked out as `luau`
  • Loading branch information
aatxe committed Dec 17, 2024
1 parent 9dc6f30 commit a885998
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/RequireByString.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -125,12 +125,6 @@ class ReplWithPathFixture
luauDirRel += "/Client/Luau";
luauDirAbs += "/Client/Luau";
}
else
{
luauDirRel += "/luau";
luauDirAbs += "/luau";
}


if (type == PathType::Relative)
return luauDirRel;
Expand Down

0 comments on commit a885998

Please sign in to comment.