fix(ci): format tests
This commit is contained in:
parent
6673713eb1
commit
62fda4490c
10 changed files with 136 additions and 260 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue