fix(ci): unused vars

This commit is contained in:
Barrett Ruth 2025-09-21 11:37:08 -04:00
parent 2c994a8bdc
commit c1529c5d91
4 changed files with 18 additions and 5 deletions

View file

@ -106,7 +106,7 @@ describe('cp.picker', function()
it('returns problems from cache when available', function()
local cache = require('cp.cache')
cache.load = function() end
cache.get_contest_data = function(platform, contest_id)
cache.get_contest_data = function()
return {
problems = {
{ id = 'a', name = 'Problem A' },
@ -131,7 +131,7 @@ describe('cp.picker', function()
cache.get_contest_data = function()
return nil
end
scrape.scrape_contest_metadata = function(platform, contest_id)
scrape.scrape_contest_metadata = function()
return {
success = true,
problems = {
@ -154,7 +154,7 @@ describe('cp.picker', function()
cache.get_contest_data = function()
return nil
end
scrape.scrape_contest_metadata = function(platform, contest_id)
scrape.scrape_contest_metadata = function()
return {
success = false,
error = 'test error',