aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/charsearch_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/charsearch_spec.lua')
-rw-r--r--test/functional/legacy/charsearch_spec.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/functional/legacy/charsearch_spec.lua b/test/functional/legacy/charsearch_spec.lua
index c1a59c9ee1..da13b61e0f 100644
--- a/test/functional/legacy/charsearch_spec.lua
+++ b/test/functional/legacy/charsearch_spec.lua
@@ -1,8 +1,9 @@
-- Test for character searches
-local helpers = require('test.functional.helpers')(after_each)
-local feed, insert = helpers.feed, helpers.insert
-local clear, feed_command, expect = helpers.clear, helpers.feed_command, helpers.expect
+local n = require('test.functional.testnvim')()
+
+local feed, insert = n.feed, n.insert
+local clear, feed_command, expect = n.clear, n.feed_command, n.expect
describe('charsearch', function()
setup(clear)