fix(test): params ought not to be validated
This commit is contained in:
parent
f94ae157c7
commit
ea098e6c9c
1 changed files with 0 additions and 22 deletions
|
|
@ -235,28 +235,6 @@ describe('cp.execute', function()
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
describe('parameter validation', function()
|
|
||||||
it('validates language_config parameter', function()
|
|
||||||
assert.has_error(function()
|
|
||||||
execute.compile_generic(nil, {})
|
|
||||||
end)
|
|
||||||
|
|
||||||
assert.has_error(function()
|
|
||||||
execute.compile_generic('not_table', {})
|
|
||||||
end)
|
|
||||||
end)
|
|
||||||
|
|
||||||
it('validates substitutions parameter', function()
|
|
||||||
assert.has_error(function()
|
|
||||||
execute.compile_generic({}, nil)
|
|
||||||
end)
|
|
||||||
|
|
||||||
assert.has_error(function()
|
|
||||||
execute.compile_generic({}, 'not_table')
|
|
||||||
end)
|
|
||||||
end)
|
|
||||||
end)
|
|
||||||
|
|
||||||
describe('directory creation', function()
|
describe('directory creation', function()
|
||||||
it('creates build and io directories', function()
|
it('creates build and io directories', function()
|
||||||
local language_config = {
|
local language_config = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue