aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/writefile_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/writefile_spec.lua')
-rw-r--r--test/functional/legacy/writefile_spec.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/legacy/writefile_spec.lua b/test/functional/legacy/writefile_spec.lua
index 6ba3056377..a5a2c3c682 100644
--- a/test/functional/legacy/writefile_spec.lua
+++ b/test/functional/legacy/writefile_spec.lua
@@ -1,7 +1,8 @@
-- Tests for writefile()
-local t = require('test.functional.testutil')()
-local clear, command, expect = t.clear, t.command, t.expect
+local n = require('test.functional.testnvim')()
+
+local clear, command, expect = n.clear, n.command, n.expect
describe('writefile', function()
setup(clear)