From dad72bc6d072e6b4a026fffe2fe88796984a7754 Mon Sep 17 00:00:00 2001 From: "Andreas Koepf (aider)" Date: Sun, 2 Feb 2025 16:43:25 +0100 Subject: [PATCH] fix: Correct argument passing in ARC 1D task test lambda functions --- tests/test_arc_1d.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_arc_1d.py b/tests/test_arc_1d.py index b0f759b1..78479a7f 100644 --- a/tests/test_arc_1d.py +++ b/tests/test_arc_1d.py @@ -24,8 +24,8 @@ def test_all_arc_1d_tasks(): move_pix = 2 tasks = [ - (lambda s, r, **k: task_move_n_pix(s, move_pix, **k, r=r), {"solid": True}), - (lambda s, r, **k: task_move_n_pix_wrapped(s, move_pix, **k, r=r), {"solid": True}), + (lambda s, r, **k: task_move_n_pix(s, move_pix, k["solid"], r), {"solid": True}), + (lambda s, r, **k: task_move_n_pix_wrapped(s, move_pix, k["solid"], r), {"solid": True}), (task_gravity, {}), (task_gravity_counting, {}), (task_gravity_antigravity, {}),