aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/wordcount_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/wordcount_spec.lua')
-rw-r--r--test/functional/legacy/wordcount_spec.lua12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/functional/legacy/wordcount_spec.lua b/test/functional/legacy/wordcount_spec.lua
index 946668e2d3..85f2a1623c 100644
--- a/test/functional/legacy/wordcount_spec.lua
+++ b/test/functional/legacy/wordcount_spec.lua
@@ -1,10 +1,12 @@
-- Test for wordcount() function
-local t = require('test.functional.testutil')()
-local feed, insert, source = t.feed, t.insert, t.source
-local clear, command = t.clear, t.command
-local eq, eval = t.eq, t.eval
-local poke_eventloop = t.poke_eventloop
+local t = require('test.testutil')
+local n = require('test.functional.testnvim')()
+
+local feed, insert, source = n.feed, n.insert, n.source
+local clear, command = n.clear, n.command
+local eq, eval = t.eq, n.eval
+local poke_eventloop = n.poke_eventloop
describe('wordcount', function()
before_each(clear)