From 3b45f676c0f07aa2826f191f555ba0d5f53e6d7c Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 28 Jul 2017 02:31:03 +0200 Subject: menu_get(): doc --- test/functional/ex_cmds/menu_spec.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'test/functional') 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 "') 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", -- cgit