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/buffer_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/buffer_spec.lua')
-rw-r--r-- | test/functional/terminal/buffer_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/terminal/buffer_spec.lua b/test/functional/terminal/buffer_spec.lua index 888c4538af..7a30367917 100644 --- a/test/functional/terminal/buffer_spec.lua +++ b/test/functional/terminal/buffer_spec.lua @@ -1,7 +1,7 @@ local t = require('test.testutil') local n = require('test.functional.testnvim')() local Screen = require('test.functional.ui.screen') -local tt = require('test.functional.terminal.testutil') +local tt = require('test.functional.testterm') local assert_alive = n.assert_alive local feed, clear = n.feed, n.clear @@ -29,7 +29,7 @@ describe(':terminal buffer', function() before_each(function() clear() command('set modifiable swapfile undolevels=20') - screen = tt.screen_setup() + screen = tt.setup_screen() end) it('terminal-mode forces various options', function() @@ -574,7 +574,7 @@ if is_os('win') then feed_command('set modifiable swapfile undolevels=20') poke_eventloop() local cmd = { 'cmd.exe', '/K', 'PROMPT=$g$s' } - screen = tt.screen_setup(nil, cmd) + screen = tt.setup_screen(nil, cmd) end) it('"put" operator sends data normally', function() |