diff options
Diffstat (limited to 'unit_tests/embedded_tests.cpp')
-rw-r--r-- | unit_tests/embedded_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unit_tests/embedded_tests.cpp b/unit_tests/embedded_tests.cpp index d4794df..a63383a 100644 --- a/unit_tests/embedded_tests.cpp +++ b/unit_tests/embedded_tests.cpp | |||
@@ -80,7 +80,7 @@ namespace | |||
80 | class EmbeddedLuaState : public LuaState | 80 | class EmbeddedLuaState : public LuaState |
81 | { | 81 | { |
82 | private: | 82 | private: |
83 | HMODULE hCore{ LoadLibraryW(L"lanes\\core") }; | 83 | HMODULE hCore{ LoadLibraryW(L"lanes_core") }; |
84 | lua_CFunction lanes_register{}; | 84 | lua_CFunction lanes_register{}; |
85 | 85 | ||
86 | public: | 86 | public: |
@@ -93,7 +93,7 @@ namespace | |||
93 | { | 93 | { |
94 | 94 | ||
95 | if (!hCore) { | 95 | if (!hCore) { |
96 | throw std::logic_error("Could not load lanes.core"); | 96 | throw std::logic_error("Could not load lanes_core"); |
97 | } | 97 | } |
98 | luaopen_lanes_embedded_t const _p_luaopen_lanes_embedded{ reinterpret_cast<luaopen_lanes_embedded_t>(GetProcAddress(hCore, "luaopen_lanes_embedded")) }; | 98 | luaopen_lanes_embedded_t const _p_luaopen_lanes_embedded{ reinterpret_cast<luaopen_lanes_embedded_t>(GetProcAddress(hCore, "luaopen_lanes_embedded")) }; |
99 | if (!_p_luaopen_lanes_embedded) { | 99 | if (!_p_luaopen_lanes_embedded) { |