diff options
Diffstat (limited to 'unit_tests/embedded_tests.cpp')
-rw-r--r-- | unit_tests/embedded_tests.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unit_tests/embedded_tests.cpp b/unit_tests/embedded_tests.cpp index 04a8f87..6dc84a1 100644 --- a/unit_tests/embedded_tests.cpp +++ b/unit_tests/embedded_tests.cpp | |||
@@ -139,13 +139,13 @@ namespace | |||
139 | 139 | ||
140 | // ################################################################################################# | 140 | // ################################################################################################# |
141 | 141 | ||
142 | TEST_CASE("lanes.embedding.with default allocator") | 142 | TEST_CASE("lanes.embedding.with_default_allocator") |
143 | { | 143 | { |
144 | local::EmbeddedLuaState S; | 144 | local::EmbeddedLuaState S; |
145 | 145 | ||
146 | // --------------------------------------------------------------------------------------------- | 146 | // --------------------------------------------------------------------------------------------- |
147 | 147 | ||
148 | SECTION("single state") | 148 | SECTION("single_state") |
149 | { | 149 | { |
150 | // this sends data in a linda. current contents: | 150 | // this sends data in a linda. current contents: |
151 | // key: short string | 151 | // key: short string |
@@ -172,7 +172,7 @@ TEST_CASE("lanes.embedding.with default allocator") | |||
172 | 172 | ||
173 | // --------------------------------------------------------------------------------------------- | 173 | // --------------------------------------------------------------------------------------------- |
174 | 174 | ||
175 | SECTION("manual registration") | 175 | SECTION("manual_registration") |
176 | { | 176 | { |
177 | S.requireSuccess("require 'lanes'.configure{with_timers = false}"); | 177 | S.requireSuccess("require 'lanes'.configure{with_timers = false}"); |
178 | 178 | ||
@@ -204,7 +204,7 @@ TEST_CASE("lanes.embedding.with default allocator") | |||
204 | 204 | ||
205 | // this is not really a test yet, just something sitting here until it is converted properly | 205 | // this is not really a test yet, just something sitting here until it is converted properly |
206 | // currently it crashes with moonjit (but maybe I just need a more recent moonjit version) | 206 | // currently it crashes with moonjit (but maybe I just need a more recent moonjit version) |
207 | TEST_CASE("lanes.embedding.with custom allocator") | 207 | TEST_CASE("lanes.embedding.with_custom_allocator") |
208 | { | 208 | { |
209 | static constexpr auto logPrint = +[](lua_State* L) { | 209 | static constexpr auto logPrint = +[](lua_State* L) { |
210 | lua_getglobal(L, "ID"); // ID | 210 | lua_getglobal(L, "ID"); // ID |