mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test: avoid redundant clear() #7340
This commit is contained in:
parent
a792c1f6db
commit
2f4647e77b
@ -387,8 +387,7 @@ describe('menu_get', function()
|
||||
clear()
|
||||
end)
|
||||
|
||||
it('prettyprints special chars', function()
|
||||
clear()
|
||||
it('returns <keycode> representation of special keys', function()
|
||||
command('nnoremenu &Test.Test inormal<ESC>')
|
||||
command('inoremenu &Test.Test2 <Tab><Esc>')
|
||||
command('vnoremenu &Test.Test3 yA<C-R>0<Tab>xyz<Esc>')
|
||||
@ -548,7 +547,6 @@ describe('menu_get', function()
|
||||
end)
|
||||
|
||||
it('works with right-aligned text and spaces', function()
|
||||
clear()
|
||||
command('nnoremenu &Test<Tab>Y.Test<Tab>X\\ x inormal<Alt-j>')
|
||||
command('nnoremenu &Test\\ 1.Test\\ 2 Wargl')
|
||||
command('nnoremenu &Test4.Test<Tab>3 i space<Esc>')
|
||||
|
Loading…
Reference in New Issue
Block a user