aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/nested_function_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/nested_function_spec.lua')
-rw-r--r--test/functional/legacy/nested_function_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/legacy/nested_function_spec.lua b/test/functional/legacy/nested_function_spec.lua
index be9b66ee38..7a2ba1ecf2 100644
--- a/test/functional/legacy/nested_function_spec.lua
+++ b/test/functional/legacy/nested_function_spec.lua
@@ -2,7 +2,7 @@
local helpers = require('test.functional.helpers')(after_each)
local clear, insert = helpers.clear, helpers.insert
-local execute, expect, source = helpers.execute, helpers.expect, helpers.source
+local command, expect, source = helpers.command, helpers.expect, helpers.source
describe('test_nested_function', function()
setup(clear)
@@ -36,7 +36,7 @@ describe('test_nested_function', function()
: endfunction
: call s:{fn}()
:endfunction]])
- execute('call NestedFunc()')
+ command('call NestedFunc()')
-- Assert buffer contents.
expect([[