aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/002_filename_recognition_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/002_filename_recognition_spec.lua')
-rw-r--r--test/functional/legacy/002_filename_recognition_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/legacy/002_filename_recognition_spec.lua b/test/functional/legacy/002_filename_recognition_spec.lua
index 569e748631..5a833281e7 100644
--- a/test/functional/legacy/002_filename_recognition_spec.lua
+++ b/test/functional/legacy/002_filename_recognition_spec.lua
@@ -1,7 +1,7 @@
-- Test if URLs are recognized as filenames by commands such as "gf". Here
-- we'll use `expand("<cfile>")` since "gf" would need to open the file.
-local helpers = require('test.functional.helpers')
+local helpers = require('test.functional.helpers')(after_each)
local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
local execute, expect = helpers.execute, helpers.expect