test: avoid redundant clear() #7340

This commit is contained in:
Justin M. Keyes 2017-10-16 21:59:13 +02:00
parent a792c1f6db
commit 2f4647e77b

View File

@ -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>')