aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/insertcount_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/insertcount_spec.lua')
-rw-r--r--test/functional/legacy/insertcount_spec.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/functional/legacy/insertcount_spec.lua b/test/functional/legacy/insertcount_spec.lua
index e53c9dc6ce..53402c2163 100644
--- a/test/functional/legacy/insertcount_spec.lua
+++ b/test/functional/legacy/insertcount_spec.lua
@@ -1,8 +1,9 @@
-- Tests for repeating insert and replace.
-local helpers = require('test.functional.helpers')(after_each)
-local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
-local feed_command, expect = helpers.feed_command, helpers.expect
+local n = require('test.functional.testnvim')()
+
+local clear, feed, insert = n.clear, n.feed, n.insert
+local feed_command, expect = n.feed_command, n.expect
describe('insertcount', function()
setup(clear)