From 2c994a8bdcb16d2294192bf13232b551e54962b9 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sun, 21 Sep 2025 11:36:19 -0400 Subject: [PATCH] fix(ci): unused variables --- spec/picker_spec.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/picker_spec.lua b/spec/picker_spec.lua index daac53f..91379e8 100644 --- a/spec/picker_spec.lua +++ b/spec/picker_spec.lua @@ -40,7 +40,7 @@ describe('cp.picker', function() describe('get_contests_for_platform', function() it('returns empty list when scraper fails', function() - vim.system = function(cmd, opts) + vim.system = function() return { wait = function() return { code = 1, stderr = 'test error' } @@ -54,7 +54,7 @@ describe('cp.picker', function() end) it('returns empty list when JSON is invalid', function() - vim.system = function(cmd, opts) + vim.system = function() return { wait = function() return { code = 0, stdout = 'invalid json' } @@ -68,7 +68,7 @@ describe('cp.picker', function() end) it('returns contest list when scraper succeeds', function() - vim.system = function(cmd, opts) + vim.system = function() return { wait = function() return {