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()
|
clear()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
it('prettyprints special chars', function()
|
it('returns <keycode> representation of special keys', function()
|
||||||
clear()
|
|
||||||
command('nnoremenu &Test.Test inormal<ESC>')
|
command('nnoremenu &Test.Test inormal<ESC>')
|
||||||
command('inoremenu &Test.Test2 <Tab><Esc>')
|
command('inoremenu &Test.Test2 <Tab><Esc>')
|
||||||
command('vnoremenu &Test.Test3 yA<C-R>0<Tab>xyz<Esc>')
|
command('vnoremenu &Test.Test3 yA<C-R>0<Tab>xyz<Esc>')
|
||||||
@ -548,7 +547,6 @@ describe('menu_get', function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
it('works with right-aligned text and spaces', function()
|
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<Tab>Y.Test<Tab>X\\ x inormal<Alt-j>')
|
||||||
command('nnoremenu &Test\\ 1.Test\\ 2 Wargl')
|
command('nnoremenu &Test\\ 1.Test\\ 2 Wargl')
|
||||||
command('nnoremenu &Test4.Test<Tab>3 i space<Esc>')
|
command('nnoremenu &Test4.Test<Tab>3 i space<Esc>')
|
||||||
|
Loading…
Reference in New Issue
Block a user