From 52d097a5374a966cdc26be678d49f4c8ef6a38cf Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 9 Aug 2025 04:56:26 +0200 Subject: Fixed indentation --- tests/test.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tests') diff --git a/tests/test.lua b/tests/test.lua index 74bf797..644b54b 100644 --- a/tests/test.lua +++ b/tests/test.lua @@ -24,12 +24,12 @@ function test_api() end function get_random_color() - local keys = {} - for k in pairs(color) do - table.insert(keys, k) -- Collect all keys - end - local randomKey = keys[math.random(1, #keys)] -- Select a random key - return color[randomKey] -- Return the corresponding color + local keys = {} + for k in pairs(color) do + table.insert(keys, k) -- Collect all keys + end + local randomKey = keys[math.random(1, #keys)] -- Select a random key + return color[randomKey] -- Return the corresponding color end function test_json() @@ -62,7 +62,7 @@ function test_buttons() if button_down(button.PAD_RIGHT) then draw_text("Pad Right", 10, 100, 20, color.VIOLET) end - + if button_down(button.A) then draw_text("A", 150, 10, 20, color.VIOLET) end -- cgit v1.2.3