aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/094_visual_mode_operators_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/094_visual_mode_operators_spec.lua')
-rw-r--r--test/functional/legacy/094_visual_mode_operators_spec.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/functional/legacy/094_visual_mode_operators_spec.lua b/test/functional/legacy/094_visual_mode_operators_spec.lua
index ff1d3e7bec..279c6a432a 100644
--- a/test/functional/legacy/094_visual_mode_operators_spec.lua
+++ b/test/functional/legacy/094_visual_mode_operators_spec.lua
@@ -4,9 +4,10 @@
-- followed by an operator and those executed via Operator-pending mode. Also
-- part of the test are mappings, counts, and repetition with the . command.
-local helpers = require('test.functional.helpers')(after_each)
-local feed, insert, source = helpers.feed, helpers.insert, helpers.source
-local clear, feed_command, expect = helpers.clear, helpers.feed_command, helpers.expect
+local n = require('test.functional.testnvim')()
+
+local feed, insert, source = n.feed, n.insert, n.source
+local clear, feed_command, expect = n.clear, n.feed_command, n.expect
-- Vim script user functions needed for some of the test cases.
local function source_user_functions()