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_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_spec.lua')
-rw-r--r-- | test/functional/terminal/window_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/terminal/window_spec.lua b/test/functional/terminal/window_spec.lua index 18477fdf2d..f97bfd0a2f 100644 --- a/test/functional/terminal/window_spec.lua +++ b/test/functional/terminal/window_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 feed_data = tt.feed_data local feed, clear = n.feed, n.clear local poke_eventloop = n.poke_eventloop @@ -37,7 +37,7 @@ describe(':terminal window', function() before_each(function() clear() - screen = tt.screen_setup() + screen = tt.setup_screen() end) it('sets topline correctly #8556', function() @@ -198,7 +198,7 @@ describe(':terminal with multigrid', function() before_each(function() clear() - screen = tt.screen_setup(0, nil, 50, nil, { ext_multigrid = true }) + screen = tt.setup_screen(0, nil, 50, nil, { ext_multigrid = true }) end) it('resizes to requested size', function() |