From 7ad3eef3b716db92980a6f61a6ea4994206fb992 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Mon, 15 Sep 2025 20:10:49 -0400 Subject: [PATCH] fix: rename var --- lua/cp/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/cp/init.lua b/lua/cp/init.lua index 456a2ff..c72ad4c 100644 --- a/lua/cp/init.lua +++ b/lua/cp/init.lua @@ -249,10 +249,10 @@ local function toggle_test_panel() end local function run_current_test() - local test_ctx = problem.create_context(state.platform, state.contest_id, state.problem_id, config) + local problem_ctx = problem.create_context(state.platform, state.contest_id, state.problem_id, config) local contest_config = config.contests[state.platform] local test_state = test_module.get_test_panel_state() - test_module.run_test_case(test_ctx, contest_config, test_state.current_index) + test_module.run_test_case(problem_ctx, contest_config, test_state.current_index) toggle_test_panel() toggle_test_panel() end