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.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/functional/legacy/nested_function_spec.lua b/test/functional/legacy/nested_function_spec.lua
index 2bff8390c1..5e981b5862 100644
--- a/test/functional/legacy/nested_function_spec.lua
+++ b/test/functional/legacy/nested_function_spec.lua
@@ -1,8 +1,9 @@
-- Tests for nested function.
-local t = require('test.functional.testutil')()
-local clear, insert = t.clear, t.insert
-local command, expect, source = t.command, t.expect, t.source
+local n = require('test.functional.testnvim')()
+
+local clear, insert = n.clear, n.insert
+local command, expect, source = n.command, n.expect, n.source
describe('test_nested_function', function()
setup(clear)