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/testnvim.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/testnvim.lua')
-rw-r--r-- | test/functional/testnvim.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/testnvim.lua b/test/functional/testnvim.lua index 8c8b239cd8..a66f0cd52c 100644 --- a/test/functional/testnvim.lua +++ b/test/functional/testnvim.lua @@ -250,6 +250,8 @@ function M.set_method_error(err) method_error = err end +--- Runs the event loop of the given session. +--- --- @param lsession test.Session --- @param request_cb function? --- @param notification_cb function? @@ -296,6 +298,7 @@ function M.run_session(lsession, request_cb, notification_cb, setup_cb, timeout) return lsession.eof_err end +--- Runs the event loop of the current global session. function M.run(request_cb, notification_cb, setup_cb, timeout) assert(session) return M.run_session(session, request_cb, notification_cb, setup_cb, timeout) |