aboutsummaryrefslogtreecommitdiff
path: root/unit_tests/shared.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unit_tests/shared.cpp')
-rw-r--r--unit_tests/shared.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/unit_tests/shared.cpp b/unit_tests/shared.cpp
index 0c9516f..08025f2 100644
--- a/unit_tests/shared.cpp
+++ b/unit_tests/shared.cpp
@@ -8,7 +8,7 @@
8// ################################################################################################# 8// #################################################################################################
9// ################################################################################################# 9// #################################################################################################
10 10
11LANES_API int luaopen_deep_test(lua_State* L_); 11LANES_API int luaopen_deep_userdata_example(lua_State* L_);
12 12
13namespace 13namespace
14{ 14{
@@ -70,7 +70,7 @@ namespace
70 // a function that enables any lane to require "fixture" 70 // a function that enables any lane to require "fixture"
71 lua_CFunction sOnStateCreate = +[](lua_State* const L_) { 71 lua_CFunction sOnStateCreate = +[](lua_State* const L_) {
72 PreloadModule(L_, "fixture", luaopen_fixture); 72 PreloadModule(L_, "fixture", luaopen_fixture);
73 PreloadModule(L_, "deep_test", luaopen_deep_test); 73 PreloadModule(L_, "deep_userdata_example", luaopen_deep_userdata_example);
74 return 0; 74 return 0;
75 }; 75 };
76 76
@@ -181,7 +181,7 @@ LuaState::LuaState(WithBaseLibs const withBaseLibs_, WithFixture const withFixtu
181 if (withFixture_) { 181 if (withFixture_) {
182 // make require "fixture" call luaopen_fixture 182 // make require "fixture" call luaopen_fixture
183 local::PreloadModule(L, "fixture", luaopen_fixture); 183 local::PreloadModule(L, "fixture", luaopen_fixture);
184 local::PreloadModule(L, "deep_test", luaopen_deep_test); 184 local::PreloadModule(L, "deep_userdata_example", luaopen_deep_userdata_example);
185 } 185 }
186 STACK_CHECK(L, 0); 186 STACK_CHECK(L, 0);
187} 187}