fix(ci): format tests

This commit is contained in:
Barrett Ruth 2025-09-18 22:45:05 -04:00
parent 6673713eb1
commit 62fda4490c
10 changed files with 136 additions and 260 deletions

View file

@ -36,7 +36,7 @@ describe('cp.cache', function()
it('stores and retrieves contest data', function()
local problems = {
{ id = 'A', name = 'First Problem' },
{ id = 'B', name = 'Second Problem' }
{ id = 'B', name = 'Second Problem' },
}
cache.set_contest_data('codeforces', 'test_contest', problems)
@ -77,7 +77,7 @@ describe('cp.cache', function()
it('stores and retrieves test cases', function()
local test_cases = {
{ index = 1, input = '1 2', expected = '3' },
{ index = 2, input = '4 5', expected = '9' }
{ index = 2, input = '4 5', expected = '9' },
}
cache.set_test_cases('atcoder', 'test_contest', 'A', test_cases)
@ -105,4 +105,4 @@ describe('cp.cache', function()
assert.is_nil(result)
end)
end)
end)
end)