aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ex_cmds/menu_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/ex_cmds/menu_spec.lua')
-rw-r--r--test/functional/ex_cmds/menu_spec.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/functional/ex_cmds/menu_spec.lua b/test/functional/ex_cmds/menu_spec.lua
index eca45efcf1..55da8da8dc 100644
--- a/test/functional/ex_cmds/menu_spec.lua
+++ b/test/functional/ex_cmds/menu_spec.lua
@@ -78,12 +78,10 @@ describe('menu_get', function()
command('cnoremenu Edit.Paste <C-R>"')
end)
- it('no path, all modes', function()
+ it("path='', modes='a'", function()
local m = funcs.menu_get("","a");
- -- You can use the following to print the expected table
- -- and regenerate the tests:
- -- local pretty = require('pl.pretty');
- -- print(pretty.dump(m))
+ -- HINT: To print the expected table and regenerate the tests:
+ -- print(require('pl.pretty').dump(m))
local expected = {
{
shortcut = "T",