aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/060_exists_and_has_functions_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/060_exists_and_has_functions_spec.lua')
-rw-r--r--test/functional/legacy/060_exists_and_has_functions_spec.lua10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/functional/legacy/060_exists_and_has_functions_spec.lua b/test/functional/legacy/060_exists_and_has_functions_spec.lua
index 82fece3e84..ec29b6cf04 100644
--- a/test/functional/legacy/060_exists_and_has_functions_spec.lua
+++ b/test/functional/legacy/060_exists_and_has_functions_spec.lua
@@ -1,9 +1,11 @@
-- Tests for the exists() and has() functions.
-local helpers = require('test.functional.helpers')(after_each)
-local source = helpers.source
-local clear, expect = helpers.clear, helpers.expect
-local write_file = helpers.write_file
+local t = require('test.testutil')
+local n = require('test.functional.testnvim')()
+
+local source = n.source
+local clear, expect = n.clear, n.expect
+local write_file = t.write_file
describe('exists() and has() functions', function()
setup(function()