fix(test): actually test picking in picker specs
This commit is contained in:
parent
a54e6398cf
commit
f94ae157c7
2 changed files with 14 additions and 0 deletions
|
|
@ -28,4 +28,11 @@ describe('cp.fzf_lua', function()
|
|||
assert.is_function(fzf_lua_cp.pick)
|
||||
end)
|
||||
end)
|
||||
|
||||
describe('basic running', function()
|
||||
it('can run and open the picker with :CP pick', function()
|
||||
local cp = require('cp')
|
||||
assert.has_no_errors(cp.handle_command({ fargs = { 'pick' } }))
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
|
|
|||
|
|
@ -75,4 +75,11 @@ describe('cp.telescope', function()
|
|||
assert.is_function(telescope_cp.pick)
|
||||
end)
|
||||
end)
|
||||
|
||||
describe('basic running', function()
|
||||
it('can run and open the picker with :CP pick', function()
|
||||
local cp = require('cp')
|
||||
assert.has_no_errors(cp.handle_command({ fargs = { 'pick' } }))
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue