aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/026_execute_while_if_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/026_execute_while_if_spec.lua')
-rw-r--r--test/functional/legacy/026_execute_while_if_spec.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/functional/legacy/026_execute_while_if_spec.lua b/test/functional/legacy/026_execute_while_if_spec.lua
index 74ef34bb20..ea8abed7ae 100644
--- a/test/functional/legacy/026_execute_while_if_spec.lua
+++ b/test/functional/legacy/026_execute_while_if_spec.lua
@@ -1,9 +1,11 @@
-- Test for :execute, :while and :if
local helpers = require('test.functional.helpers')(after_each)
+
local clear = helpers.clear
-local execute, expect = helpers.execute, helpers.expect
+local expect = helpers.expect
local source = helpers.source
+local command = helpers.command
describe(':execute, :while and :if', function()
setup(clear)
@@ -37,7 +39,7 @@ describe(':execute, :while and :if', function()
]])
-- Remove empty line
- execute('1d')
+ command('1d')
-- Assert buffer contents.
expect([[