From d760e08facda964c04c08d589135cd6b53e16196 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 26 Jan 2019 21:55:45 +0100 Subject: menu_get(): Do not include empty items Caused by a typo: `dict` instead of `dic`. Renamed variable to `d` to make it less similar. --- test/functional/ex_cmds/menu_spec.lua | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) (limited to 'test/functional') diff --git a/test/functional/ex_cmds/menu_spec.lua b/test/functional/ex_cmds/menu_spec.lua index d06af45be0..07a40c7a2c 100644 --- a/test/functional/ex_cmds/menu_spec.lua +++ b/test/functional/ex_cmds/menu_spec.lua @@ -63,19 +63,21 @@ describe('menu_get', function() before_each(function() clear() - command('nnoremenu &Test.Test inormal') - command('inoremenu Test.Test insert') - command('vnoremenu Test.Test x') - command('cnoremenu Test.Test cmdmode') - command('menu Test.Nested.test level1') - command('menu Test.Nested.Nested2 level2') + command([=[ + nnoremenu &Test.Test inormal + inoremenu Test.Test insert + vnoremenu Test.Test x + cnoremenu Test.Test cmdmode + menu Test.Nested.test level1 + menu Test.Nested.Nested2 level2 - command('nnoremenu