From: Michael Tremer Date: Thu, 22 Feb 2024 15:13:25 +0000 (+0000) Subject: lua: Force testing garbage collection for countries X-Git-Tag: 0.9.18~155 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d77d3c8dbf08b4f2cc9a3eaa589d5a8667dcba31;p=people%2Fms%2Flibloc.git lua: Force testing garbage collection for countries Signed-off-by: Michael Tremer --- diff --git a/tests/lua/main.lua b/tests/lua/main.lua index 7349a80..35c6333 100755 --- a/tests/lua/main.lua +++ b/tests/lua/main.lua @@ -73,6 +73,9 @@ function test_country() c2 = location.Country.new("GB") luaunit.assertNotEquals(c1, c2) + + c1 = nil + c2 = nil end -- This test is not very deterministic but should help to test the GC methods