fix(ci): var shadowing and proper mocking

This commit is contained in:
Barrett Ruth 2025-09-21 12:32:53 -04:00
parent 3f713131eb
commit 36ef39479f

View file

@ -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()