fix(ci) : problem types
This commit is contained in:
parent
2f3912a1fa
commit
83a91e1985
6 changed files with 77 additions and 14 deletions
|
|
@ -154,7 +154,11 @@ describe('cp test panel', function()
|
|||
},
|
||||
})
|
||||
|
||||
vim.cmd('silent! %bwipeout!')
|
||||
vim.cmd = function(cmd_str)
|
||||
if cmd_str:match('silent! %%bwipeout!') then
|
||||
return
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
after_each(function()
|
||||
|
|
@ -163,7 +167,11 @@ describe('cp test panel', function()
|
|||
package.loaded['cp.test'] = nil
|
||||
package.loaded['cp.problem'] = nil
|
||||
package.loaded['cp.execute'] = nil
|
||||
vim.cmd('silent! %bwipeout!')
|
||||
vim.cmd = function(cmd_str)
|
||||
if cmd_str:match('silent! %%bwipeout!') then
|
||||
return
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
describe('panel creation', function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue