aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/autoformat_join_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/autoformat_join_spec.lua')
-rw-r--r--test/functional/legacy/autoformat_join_spec.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/functional/legacy/autoformat_join_spec.lua b/test/functional/legacy/autoformat_join_spec.lua
index 22b1c258fe..9a240c8bda 100644
--- a/test/functional/legacy/autoformat_join_spec.lua
+++ b/test/functional/legacy/autoformat_join_spec.lua
@@ -1,9 +1,10 @@
-- Tests for setting the '[,'] marks when joining lines.
-local helpers = require('test.functional.helpers')(after_each)
-local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
-local command, expect = helpers.command, helpers.expect
-local poke_eventloop = helpers.poke_eventloop
+local n = require('test.functional.testnvim')()
+
+local clear, feed, insert = n.clear, n.feed, n.insert
+local command, expect = n.command, n.expect
+local poke_eventloop = n.poke_eventloop
describe('autoformat join', function()
setup(clear)