aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/crash_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/crash_spec.lua')
-rw-r--r--test/functional/legacy/crash_spec.lua11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/functional/legacy/crash_spec.lua b/test/functional/legacy/crash_spec.lua
index 094bea253e..04f77c7d4f 100644
--- a/test/functional/legacy/crash_spec.lua
+++ b/test/functional/legacy/crash_spec.lua
@@ -1,8 +1,9 @@
-local helpers = require('test.functional.helpers')(after_each)
-local assert_alive = helpers.assert_alive
-local clear = helpers.clear
-local command = helpers.command
-local feed = helpers.feed
+local n = require('test.functional.testnvim')()
+
+local assert_alive = n.assert_alive
+local clear = n.clear
+local command = n.command
+local feed = n.feed
before_each(clear)