From c592f50e20af7898c110fb70ec3cadca67f197f7 Mon Sep 17 00:00:00 2001 From: Vighnesh Date: Fri, 1 Dec 2023 20:37:13 -0800 Subject: [PATCH] can CI handle this? --- tests/RequireByString.test.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/RequireByString.test.cpp b/tests/RequireByString.test.cpp index 49ee5050..b3a45781 100644 --- a/tests/RequireByString.test.cpp +++ b/tests/RequireByString.test.cpp @@ -50,6 +50,8 @@ public: std::string luauDirAbs; std::optional cwd = getCurrentWorkingDirectory(); + if (cwd) + printf("%s\n", (*cwd).c_str()); REQUIRE_MESSAGE(cwd, "Error getting Luau path"); std::replace((*cwd).begin(), (*cwd).end(), '\\', '/'); luauDirAbs = *cwd; @@ -209,6 +211,7 @@ TEST_CASE("PathNormalization") } } + TEST_CASE_FIXTURE(ReplWithPathFixture, "RequireSimpleRelativePath") { ScopedFastFlag sff{FFlag::LuauUpdatedRequireByStringSemantics, true}; @@ -383,7 +386,7 @@ TEST_CASE_FIXTURE(ReplWithPathFixture, "RequirePathWithAlias") TEST_CASE_FIXTURE(ReplWithPathFixture, "RequirePathWithParentAlias") { ScopedFastFlag sff{FFlag::LuauUpdatedRequireByStringSemantics, true}; - std::string path = getLuauDirectory(PathType::Relative) + "/tests/require/with_config/src/parent_alias_requirer"; + std::string path = getLuauDirectory(PathType::Relative) + "/tests/require/with_config/src/parent_alias_requirer.luau"; runProtectedRequire(path); assertOutputContainsAll({"true", "result from other_dependency"}); }