aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-10-16 21:59:13 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-10-16 21:59:13 +0200
commit2f4647e77b7e8271aad1b45eb07fbabed78d9fe6 (patch)
tree0d8b8e64ffc84f1921730cef1efb0d9bdcc54c89
parenta792c1f6dbbbf26946082ae8be5b4ac346a8d9bc (diff)
downloadrneovim-2f4647e77b7e8271aad1b45eb07fbabed78d9fe6.tar.gz
rneovim-2f4647e77b7e8271aad1b45eb07fbabed78d9fe6.tar.bz2
rneovim-2f4647e77b7e8271aad1b45eb07fbabed78d9fe6.zip
test: avoid redundant clear() #7340
-rw-r--r--test/functional/ex_cmds/menu_spec.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/ex_cmds/menu_spec.lua b/test/functional/ex_cmds/menu_spec.lua
index 2bc73d811b..2c0535acda 100644
--- a/test/functional/ex_cmds/menu_spec.lua
+++ b/test/functional/ex_cmds/menu_spec.lua
@@ -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>')