aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-04-29 15:55:54 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-04-29 15:55:54 +0200
commitd60a9fb712886880ec9630e744e1258ec3ed19b1 (patch)
tree068bc002f88c2f555d64218e0db6fb6f7e671d49 /tests
parentdd4a6ece589ca49130f2adf29d38af678f1640a9 (diff)
downloadlanes-d60a9fb712886880ec9630e744e1258ec3ed19b1.tar.gz
lanes-d60a9fb712886880ec9630e744e1258ec3ed19b1.tar.bz2
lanes-d60a9fb712886880ec9630e744e1258ec3ed19b1.zip
Progressively applying the coding rules
Diffstat (limited to 'tests')
-rw-r--r--tests/keeper.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/keeper.lua b/tests/keeper.lua
index 6dbbd15..e485018 100644
--- a/tests/keeper.lua
+++ b/tests/keeper.lua
@@ -18,8 +18,10 @@ do
18 -- repeatedly add and remove stuff in the linda so that a GC happens during the keeper operation 18 -- repeatedly add and remove stuff in the linda so that a GC happens during the keeper operation
19 for i = 1, 1000 do 19 for i = 1, 1000 do
20 for j = 1, 1000 do -- send 1000 tables 20 for j = 1, 1000 do -- send 1000 tables
21 -- print("send #" .. j)
21 unnamedLinda:send("here", {"a", "table", "with", "some", "stuff"}) 22 unnamedLinda:send("here", {"a", "table", "with", "some", "stuff"})
22 end 23 end
24 -- print(clearing)
23 unnamedLinda:set("here") -- clear everything 25 unnamedLinda:set("here") -- clear everything
24 end 26 end
25end 27end