diff options
| author | ZyX <kp-pav@yandex.ru> | 2017-04-10 19:12:56 +0300 |
|---|---|---|
| committer | ZyX <kp-pav@yandex.ru> | 2017-04-10 19:12:56 +0300 |
| commit | 22fb9d8d25f5354bb878b953ba49b439961c8476 (patch) | |
| tree | d3c21e80d09f7b1cf1a7c525643c2e20fb5a925e /test/functional/ex_cmds/menu_spec.lua | |
| parent | acc52a953b99f78435c34337b8ca9b6716a057a1 (diff) | |
| parent | 9aface8c4d1edd25d4fed3e099e3c2c02b0a282a (diff) | |
| download | rneovim-22fb9d8d25f5354bb878b953ba49b439961c8476.tar.gz rneovim-22fb9d8d25f5354bb878b953ba49b439961c8476.tar.bz2 rneovim-22fb9d8d25f5354bb878b953ba49b439961c8476.zip | |
Merge branch 'master' into 1476-changes
Diffstat (limited to 'test/functional/ex_cmds/menu_spec.lua')
| -rw-r--r-- | test/functional/ex_cmds/menu_spec.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/functional/ex_cmds/menu_spec.lua b/test/functional/ex_cmds/menu_spec.lua index 52df9e1592..57198600b9 100644 --- a/test/functional/ex_cmds/menu_spec.lua +++ b/test/functional/ex_cmds/menu_spec.lua @@ -1,23 +1,23 @@ local helpers = require('test.functional.helpers')(after_each) -local clear, execute, nvim = helpers.clear, helpers.execute, helpers.nvim -local expect, feed, command = helpers.expect, helpers.feed, helpers.command +local clear, command, nvim = helpers.clear, helpers.command, helpers.nvim +local expect, feed = helpers.expect, helpers.feed local eq, eval = helpers.eq, helpers.eval describe(':emenu', function() before_each(function() clear() - execute('nnoremenu Test.Test inormal<ESC>') - execute('inoremenu Test.Test insert') - execute('vnoremenu Test.Test x') - execute('cnoremenu Test.Test cmdmode') + command('nnoremenu Test.Test inormal<ESC>') + command('inoremenu Test.Test insert') + command('vnoremenu Test.Test x') + command('cnoremenu Test.Test cmdmode') - execute('nnoremenu Edit.Paste p') - execute('cnoremenu Edit.Paste <C-R>"') + command('nnoremenu Edit.Paste p') + command('cnoremenu Edit.Paste <C-R>"') end) it('executes correct bindings in normal mode without using API', function() - execute('emenu Test.Test') + command('emenu Test.Test') expect('normal') end) |
