From: Michael Tremer Date: Thu, 26 Sep 2024 16:45:52 +0000 (+0000) Subject: tests: lua: Set a variable to true if we are checking for a boolean later X-Git-Tag: 0.9.18~45 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=45b49a16c3a105e10e69dac2c8325e0f8011fa75;p=people%2Fms%2Flibloc.git tests: lua: Set a variable to true if we are checking for a boolean later Signed-off-by: Michael Tremer --- diff --git a/tests/lua/main.lua.in b/tests/lua/main.lua.in index a9a96d5..f436a5e 100755 --- a/tests/lua/main.lua.in +++ b/tests/lua/main.lua.in @@ -33,7 +33,7 @@ end log_callback_called = 0 function log_callback(level, message) - log_callback_called = 1 + log_callback_called = true print("LOG " .. message) end