mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Add test
This commit is contained in:
parent
d19ff73b39
commit
c96aed2ba7
@ -248,6 +248,42 @@ describe("'wildmenu'", function()
|
||||
|
|
||||
]])
|
||||
end)
|
||||
|
||||
it('multiple <C-D> renders correctly', function()
|
||||
command('set laststatus=2')
|
||||
command('set display+=msgsep')
|
||||
feed(':set wildm')
|
||||
feed('<c-d>')
|
||||
screen:expect([[
|
||||
|
|
||||
~ |
|
||||
~ |
|
||||
|
|
||||
:set wildm |
|
||||
wildmenu wildmode |
|
||||
:set wildm^ |
|
||||
]])
|
||||
feed('<c-d>')
|
||||
screen:expect([[
|
||||
|
|
||||
|
|
||||
:set wildm |
|
||||
wildmenu wildmode |
|
||||
:set wildm |
|
||||
wildmenu wildmode |
|
||||
:set wildm^ |
|
||||
]])
|
||||
feed('<Esc>')
|
||||
screen:expect([[
|
||||
^ |
|
||||
~ |
|
||||
~ |
|
||||
~ |
|
||||
~ |
|
||||
[No Name] |
|
||||
|
|
||||
]])
|
||||
end)
|
||||
end)
|
||||
|
||||
describe('command line completion', function()
|
||||
|
Loading…
Reference in New Issue
Block a user