diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-01-12 12:03:25 +0000 |
---|---|---|
committer | Lewis Russell <lewis6991@gmail.com> | 2024-01-12 12:04:20 +0000 |
commit | 284e0ad26dd9de90c3a813dd1b357a425eca6bad (patch) | |
tree | 55b60f82154a6aadbd3c53e6441e0b2c590f11f6 /test/functional/ex_cmds/wviminfo_spec.lua | |
parent | 56a2ec5c79d49421758319f1a8822cf30f1f8a5e (diff) | |
download | rneovim-284e0ad26dd9de90c3a813dd1b357a425eca6bad.tar.gz rneovim-284e0ad26dd9de90c3a813dd1b357a425eca6bad.tar.bz2 rneovim-284e0ad26dd9de90c3a813dd1b357a425eca6bad.zip |
test: use vim.mpack and vim.uv directly
Diffstat (limited to 'test/functional/ex_cmds/wviminfo_spec.lua')
-rw-r--r-- | test/functional/ex_cmds/wviminfo_spec.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/functional/ex_cmds/wviminfo_spec.lua b/test/functional/ex_cmds/wviminfo_spec.lua index 5e840c2ab5..23ae1440e6 100644 --- a/test/functional/ex_cmds/wviminfo_spec.lua +++ b/test/functional/ex_cmds/wviminfo_spec.lua @@ -1,5 +1,4 @@ local helpers = require('test.functional.helpers')(after_each) -local luv = require('luv') local clear = helpers.clear local command, eq, neq, write_file = helpers.command, helpers.eq, helpers.neq, helpers.write_file local read_file = helpers.read_file @@ -26,10 +25,10 @@ describe(':wshada', function() it('creates a shada file', function() -- file should _not_ exist - eq(nil, luv.fs_stat(shada_file)) + eq(nil, vim.uv.fs_stat(shada_file)) command('wsh! ' .. shada_file) -- file _should_ exist - neq(nil, luv.fs_stat(shada_file)) + neq(nil, vim.uv.fs_stat(shada_file)) end) it('overwrites existing files', function() @@ -40,7 +39,7 @@ describe(':wshada', function() -- sanity check eq(text, read_file(shada_file)) - neq(nil, luv.fs_stat(shada_file)) + neq(nil, vim.uv.fs_stat(shada_file)) command('wsh! ' .. shada_file) |