aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/window_split_tab_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-09 22:51:59 +0200
committerGitHub <noreply@github.com>2017-04-09 22:51:59 +0200
commitd7fb7de70aee3dff48abc61986818dee86afed07 (patch)
treea9263b8deb57161f2b5315117371af026759c79b /test/functional/terminal/window_split_tab_spec.lua
parentdbdd69e418a3baa4750abc25fae7516a36776e75 (diff)
parentdbe67868b53774443521129ef30d74346592e3bb (diff)
downloadrneovim-d7fb7de70aee3dff48abc61986818dee86afed07.tar.gz
rneovim-d7fb7de70aee3dff48abc61986818dee86afed07.tar.bz2
rneovim-d7fb7de70aee3dff48abc61986818dee86afed07.zip
Merge #6481 from ZyX-I/rename-execute
Rename execute() function to feed_command()
Diffstat (limited to 'test/functional/terminal/window_split_tab_spec.lua')
-rw-r--r--test/functional/terminal/window_split_tab_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/terminal/window_split_tab_spec.lua b/test/functional/terminal/window_split_tab_spec.lua
index d3386a641e..4867e0d9fa 100644
--- a/test/functional/terminal/window_split_tab_spec.lua
+++ b/test/functional/terminal/window_split_tab_spec.lua
@@ -2,7 +2,7 @@ local helpers = require('test.functional.helpers')(after_each)
local thelpers = require('test.functional.terminal.helpers')
local clear = helpers.clear
local feed, nvim = helpers.feed, helpers.nvim
-local execute = helpers.execute
+local feed_command = helpers.feed_command
if helpers.pending_win32(pending) then return end
@@ -26,7 +26,7 @@ describe('terminal', function()
it('resets its size when entering terminal window', function()
feed('<c-\\><c-n>')
- execute('2split')
+ feed_command('2split')
screen:expect([[
rows: 2, cols: 50 |
{2:^ } |
@@ -39,7 +39,7 @@ describe('terminal', function()
========== |
:2split |
]])
- execute('wincmd p')
+ feed_command('wincmd p')
screen:expect([[
tty ready |
rows: 2, cols: 50 |
@@ -52,7 +52,7 @@ describe('terminal', function()
========== |
:wincmd p |
]])
- execute('wincmd p')
+ feed_command('wincmd p')
screen:expect([[
rows: 2, cols: 50 |
{2:^ } |