fix(ci): var shadowing and proper mocking
This commit is contained in:
parent
3f713131eb
commit
36ef39479f
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ describe('cp.scrape', function()
|
|||
local result = scrape.scrape_contest_metadata('atcoder', 'abc123')
|
||||
|
||||
assert.is_false(result.success)
|
||||
assert.is_not_nil(result.error:match('Python environment setup failed'))
|
||||
assert.equals('Python environment setup failed', result.error)
|
||||
end)
|
||||
|
||||
it('handles network connectivity issues', function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue