fix(test): remove oudated test
This commit is contained in:
parent
ad3cd32bac
commit
3e2cff09e5
1 changed files with 5 additions and 5 deletions
|
|
@ -30,17 +30,17 @@ describe('cp.config', function()
|
||||||
assert.equals('table', type(result.scrapers))
|
assert.equals('table', type(result.scrapers))
|
||||||
end)
|
end)
|
||||||
|
|
||||||
it('validates extension against supported filetypes', function()
|
it('allows custom extensions', function()
|
||||||
local invalid_config = {
|
local custom_config = {
|
||||||
contests = {
|
contests = {
|
||||||
test_contest = {
|
test_contest = {
|
||||||
cpp = { extension = 'invalid' },
|
cpp = { extension = 'custom' },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
assert.has_error(function()
|
assert.has_no.errors(function()
|
||||||
config.setup(invalid_config)
|
config.setup(custom_config)
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue