aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ex_cmds/menu_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-07-28 02:31:03 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-07-28 02:34:24 +0200
commit3b45f676c0f07aa2826f191f555ba0d5f53e6d7c (patch)
tree6d60711a6db394f3f2648a5d0049f3f7260e1a94 /test/functional/ex_cmds/menu_spec.lua
parentdc685387a3d60e9ea3d09c80c74d4613b618cf14 (diff)
downloadrneovim-3b45f676c0f07aa2826f191f555ba0d5f53e6d7c.tar.gz
rneovim-3b45f676c0f07aa2826f191f555ba0d5f53e6d7c.tar.bz2
rneovim-3b45f676c0f07aa2826f191f555ba0d5f53e6d7c.zip
menu_get(): doc
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",