aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/091_context_variables_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/091_context_variables_spec.lua')
-rw-r--r--test/functional/legacy/091_context_variables_spec.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/functional/legacy/091_context_variables_spec.lua b/test/functional/legacy/091_context_variables_spec.lua
index 3b9fdf740f..cc3ee6787a 100644
--- a/test/functional/legacy/091_context_variables_spec.lua
+++ b/test/functional/legacy/091_context_variables_spec.lua
@@ -1,8 +1,9 @@
-- Tests for getbufvar(), getwinvar(), gettabvar() and gettabwinvar().
-local helpers = require('test.functional.helpers')(after_each)
-local insert, source = helpers.insert, helpers.source
-local clear, expect = helpers.clear, helpers.expect
+local n = require('test.functional.testnvim')()
+
+local insert, source = n.insert, n.source
+local clear, expect = n.clear, n.expect
describe('context variables', function()
setup(clear)