diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-09-15 03:28:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-15 03:28:14 -0700 |
commit | 5792546777332361a9ac49107e46149c703de90e (patch) | |
tree | 679b2aef5b5be6e054146f92d699da29d024bc9a /test/functional/terminal/mouse_spec.lua | |
parent | 3b54adc6c6d25dd146fa1eac21321f6bd612f50a (diff) | |
download | rneovim-5792546777332361a9ac49107e46149c703de90e.tar.gz rneovim-5792546777332361a9ac49107e46149c703de90e.tar.bz2 rneovim-5792546777332361a9ac49107e46149c703de90e.zip |
refactor(tests): rename terminal/testutil.lua => testterm.lua #30372
This module is generally used by any tests that need the full Nvim TUI
instead of `screen.lua`. Thus it should live in `functional/` instead of
in `functional/terminal/`.
Diffstat (limited to 'test/functional/terminal/mouse_spec.lua')
-rw-r--r-- | test/functional/terminal/mouse_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/terminal/mouse_spec.lua b/test/functional/terminal/mouse_spec.lua index 476e2a5fe5..38d6b83417 100644 --- a/test/functional/terminal/mouse_spec.lua +++ b/test/functional/terminal/mouse_spec.lua @@ -1,7 +1,7 @@ local t = require('test.testutil') local n = require('test.functional.testnvim')() -local tt = require('test.functional.terminal.testutil') +local tt = require('test.functional.testterm') local clear, eq, eval = n.clear, t.eq, n.eval local feed, api, command = n.feed, n.api, n.command local feed_data = tt.feed_data @@ -14,7 +14,7 @@ describe(':terminal mouse', function() before_each(function() clear() api.nvim_set_option_value('statusline', '==========', {}) - screen = tt.screen_setup() + screen = tt.setup_screen() command('highlight StatusLine NONE') command('highlight StatusLineNC NONE') command('highlight StatusLineTerm NONE') |