aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/078_swapfile_recover_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/078_swapfile_recover_spec.lua')
-rw-r--r--test/functional/legacy/078_swapfile_recover_spec.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/legacy/078_swapfile_recover_spec.lua b/test/functional/legacy/078_swapfile_recover_spec.lua
index dc5b1a8540..fa53482393 100644
--- a/test/functional/legacy/078_swapfile_recover_spec.lua
+++ b/test/functional/legacy/078_swapfile_recover_spec.lua
@@ -3,8 +3,9 @@
-- restored. We need about 10000 lines of 100 characters to get two levels of
-- pointer blocks.
-local helpers = require('test.functional.helpers')(after_each)
-local clear, expect, source = helpers.clear, helpers.expect, helpers.source
+local n = require('test.functional.testnvim')()
+
+local clear, expect, source = n.clear, n.expect, n.source
describe('78', function()
setup(clear)