Skip to content

Commit 60e6b11

Browse files
committed
fix includes
1 parent 6d73377 commit 60e6b11

File tree

4 files changed

+8
-13
lines changed

4 files changed

+8
-13
lines changed

lute/luau/include/lute/configresolver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
#include "Luau/LuauConfig.h"
3+
#include "Luau/Config.h"
44

55
namespace Luau
66
{

lute/luau/src/configresolver.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#include "lute/configresolver.h"
22

3-
#include "Luau/ParseResult.h"
4-
#include "Luau/FileUtils.h"
53
#include "Luau/LuauConfig.h"
4+
#include "Luau/FileUtils.h"
5+
#include "Luau/StringUtils.h"
66

77
namespace Luau
88
{
@@ -40,7 +40,7 @@ const Luau::Config& LuteConfigResolver::readConfigRec(const std::string& path) c
4040

4141
if (configPath && luauConfigPath)
4242
{
43-
std::string ambiguousError = Luau::format("Both %s and %s files exist", Luau::kConfigName, Luau::kLuauConfigName);
43+
std::string ambiguousError = format("Both %s and %s files exist", Luau::kConfigName, Luau::kLuauConfigName);
4444
configErrors.emplace_back(*configPath, std::move(ambiguousError));
4545
}
4646
else if (configPath)

tests/CMakeLists.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ target_sources(Lute.Test PRIVATE
99
src/luteprojectroot.h
1010
src/luteprojectroot.cpp
1111

12+
src/compile.test.cpp
13+
src/configresolver.test.cpp
1214
src/modulepath.test.cpp
15+
src/moduleresolver.test.cpp
1316
src/require.test.cpp
14-
src/stdsystem.test.cpp
1517
src/staticrequires.test.cpp
16-
src/stdsystem.test.cpp
17-
src/compile.test.cpp
18-
src/moduleresolver.test.cpp
19-
src/configresolver.test.cpp)
18+
src/stdsystem.test.cpp)
2019

2120
set_target_properties(Lute.Test PROPERTIES OUTPUT_NAME lute-tests)
2221
target_compile_features(Lute.Test PUBLIC cxx_std_17)

tests/src/configresolver.test.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
#include "lute/configresolver.h"
66

77
#include "Luau/FileUtils.h"
8-
#include "Luau/LuauConfig.h"
9-
10-
#include <sys/stat.h>
11-
#include <sys/types.h>
128

139
TEST_CASE("configresolver")
1410
{

0 commit comments

Comments
 (0)