aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/043_magic_settings_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/043_magic_settings_spec.lua')
-rw-r--r--test/functional/legacy/043_magic_settings_spec.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/functional/legacy/043_magic_settings_spec.lua b/test/functional/legacy/043_magic_settings_spec.lua
index a88ccc2b42..ba4c2dab02 100644
--- a/test/functional/legacy/043_magic_settings_spec.lua
+++ b/test/functional/legacy/043_magic_settings_spec.lua
@@ -1,8 +1,9 @@
-- Tests for regexp with various magic settings.
-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('regexp with magic settings', function()
setup(clear)