aboutsummaryrefslogtreecommitdiff
path: root/unit_tests/embedded_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unit_tests/embedded_tests.cpp')
-rw-r--r--unit_tests/embedded_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit_tests/embedded_tests.cpp b/unit_tests/embedded_tests.cpp
index a63383a..9a262d5 100644
--- a/unit_tests/embedded_tests.cpp
+++ b/unit_tests/embedded_tests.cpp
@@ -234,7 +234,7 @@ TEST_CASE("lanes.embedding.with custom allocator")
234 // lua_setfield(L, -2, "allocator"); // configure {on_state_create = on_state_create_, allocater = "protected"} 234 // lua_setfield(L, -2, "allocator"); // configure {on_state_create = on_state_create_, allocater = "protected"}
235 lua_pcall(L, 1, 0, 0); 235 lua_pcall(L, 1, 0, 0);
236 sprintf_s(script, 236 sprintf_s(script,
237 "g = lanes.gen('*', {globals = {ID = %d}}, function(id_) lane_threadname('Lane %d.'..id_) logPrint('This is L%d.'..id_) end)" // lane generator 237 "g = lanes.gen('*', { name = 'auto', globals = {ID = %d} }, function(id_) lane_threadname('Lane %d.'..id_) logPrint('This is L%d.'..id_) end)" // lane generator
238 "for i = 1,%d do _G['a'..i] = g(i) end" // launch a few lanes, handle stored in global a<i> 238 "for i = 1,%d do _G['a'..i] = g(i) end" // launch a few lanes, handle stored in global a<i>
239 , 239 ,
240 id_, 240 id_,