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/window_split_tab_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/window_split_tab_spec.lua')
-rw-r--r-- | test/functional/terminal/window_split_tab_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/terminal/window_split_tab_spec.lua b/test/functional/terminal/window_split_tab_spec.lua index ccd6a5218b..e9218e9a3b 100644 --- a/test/functional/terminal/window_split_tab_spec.lua +++ b/test/functional/terminal/window_split_tab_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 assert_alive = n.assert_alive local clear = n.clear local feed = n.feed @@ -22,7 +22,7 @@ describe(':terminal', function() -- set the statusline to a constant value because of variables like pid -- and current directory and to improve visibility of splits api.nvim_set_option_value('statusline', '==========', {}) - screen = tt.screen_setup(3) + screen = tt.setup_screen(3) command('highlight StatusLine NONE') command('highlight StatusLineNC NONE') command('highlight StatusLineTerm NONE') |