diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-01-12 11:28:20 +0000 |
---|---|---|
committer | Lewis Russell <lewis6991@gmail.com> | 2024-01-12 12:04:18 +0000 |
commit | d33e1da9b7f7e886219cfdd20b9bbfaccdc43be9 (patch) | |
tree | 847c5c36b440434ec046b3d454581f121cc8d6c5 /test/functional/ui/float_spec.lua | |
parent | 2f9ee9b6cfc61a0504fc0bc22bdf481828e2ea91 (diff) | |
download | rneovim-d33e1da9b7f7e886219cfdd20b9bbfaccdc43be9.tar.gz rneovim-d33e1da9b7f7e886219cfdd20b9bbfaccdc43be9.tar.bz2 rneovim-d33e1da9b7f7e886219cfdd20b9bbfaccdc43be9.zip |
test: do not inject vim module into global helpers
Diffstat (limited to 'test/functional/ui/float_spec.lua')
-rw-r--r-- | test/functional/ui/float_spec.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/ui/float_spec.lua b/test/functional/ui/float_spec.lua index 5a78e2baa9..6febb2e2df 100644 --- a/test/functional/ui/float_spec.lua +++ b/test/functional/ui/float_spec.lua @@ -1,6 +1,5 @@ local helpers = require('test.functional.helpers')(after_each) local Screen = require('test.functional.ui.screen') -local global_helpers = require('test.helpers') local os = require('os') local clear, feed = helpers.clear, helpers.feed local assert_alive = helpers.assert_alive @@ -17,9 +16,9 @@ local curbufmeths = helpers.curbufmeths local funcs = helpers.funcs local run = helpers.run local pcall_err = helpers.pcall_err -local tbl_contains = global_helpers.tbl_contains +local tbl_contains = vim.tbl_contains local curbuf, curwin, curtab = helpers.curbuf, helpers.curwin, helpers.curtab -local NIL = helpers.NIL +local NIL = vim.NIL describe('float window', function() before_each(function() |