diff options
Diffstat (limited to 'test/functional/ex_cmds/profile_spec.lua')
-rw-r--r-- | test/functional/ex_cmds/profile_spec.lua | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/functional/ex_cmds/profile_spec.lua b/test/functional/ex_cmds/profile_spec.lua index 9dc95dbb91..57e5c6b2dc 100644 --- a/test/functional/ex_cmds/profile_spec.lua +++ b/test/functional/ex_cmds/profile_spec.lua @@ -1,12 +1,13 @@ -require('os') +local t = require('test.testutil') +local n = require('test.functional.testnvim')() local uv = vim.uv +require('os') -local t = require('test.functional.testutil')() -local eval = t.eval -local command = t.command +local eval = n.eval +local command = n.command local eq, neq = t.eq, t.neq local tempfile = t.tmpname() -local source = t.source +local source = n.source local matches = t.matches local read_file = t.read_file @@ -25,10 +26,10 @@ local function assert_file_exists_not(filepath) end describe(':profile', function() - before_each(t.clear) + before_each(n.clear) after_each(function() - t.expect_exit(command, 'qall!') + n.expect_exit(command, 'qall!') if uv.fs_stat(tempfile).uid ~= nil then os.remove(tempfile) end |