aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/textobjects_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/textobjects_spec.lua')
-rw-r--r--test/functional/legacy/textobjects_spec.lua13
1 files changed, 7 insertions, 6 deletions
diff --git a/test/functional/legacy/textobjects_spec.lua b/test/functional/legacy/textobjects_spec.lua
index 96f655cc41..9ed8716bff 100644
--- a/test/functional/legacy/textobjects_spec.lua
+++ b/test/functional/legacy/textobjects_spec.lua
@@ -1,9 +1,10 @@
-local helpers = require('test.functional.helpers')(after_each)
-local call = helpers.call
-local clear = helpers.clear
-local command = helpers.command
-local expect = helpers.expect
-local source = helpers.source
+local n = require('test.functional.testnvim')()
+
+local call = n.call
+local clear = n.clear
+local command = n.command
+local expect = n.expect
+local source = n.source
describe('Text object', function()
before_each(function()