aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/038_virtual_replace_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/legacy/038_virtual_replace_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/legacy/038_virtual_replace_spec.lua')
-rw-r--r--test/functional/legacy/038_virtual_replace_spec.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/functional/legacy/038_virtual_replace_spec.lua b/test/functional/legacy/038_virtual_replace_spec.lua
index dcbc9c39f7..2dfc959a8c 100644
--- a/test/functional/legacy/038_virtual_replace_spec.lua
+++ b/test/functional/legacy/038_virtual_replace_spec.lua
@@ -2,31 +2,31 @@
local helpers = require('test.functional.helpers')(after_each)
local feed = helpers.feed
-local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect
+local clear, feed_command, expect = helpers.clear, helpers.feed_command, helpers.expect
describe('Virtual replace mode', function()
setup(clear)
it('is working', function()
-- Make sure that backspace works, no matter what termcap is used.
- execute('set t_kD=x7f t_kb=x08')
+ feed_command('set t_kD=x7f t_kb=x08')
-- Use vi default for 'smarttab'
- execute('set nosmarttab')
+ feed_command('set nosmarttab')
feed('ggdGa<cr>')
feed('abcdefghi<cr>')
feed('jk<tab>lmn<cr>')
feed('<Space><Space><Space><Space>opq<tab>rst<cr>')
feed('<C-d>uvwxyz<cr>')
feed('<esc>gg')
- execute('set ai')
- execute('set bs=2')
+ feed_command('set ai')
+ feed_command('set bs=2')
feed('gR0<C-d> 1<cr>')
feed('A<cr>')
feed('BCDEFGHIJ<cr>')
feed('<tab>KL<cr>')
feed('MNO<cr>')
feed('PQR<esc>G')
- execute('ka')
+ feed_command('ka')
feed('o0<C-d><cr>')
feed('abcdefghi<cr>')
feed('jk<tab>lmn<cr>')