diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-01-15 16:10:51 +0000 |
---|---|---|
committer | Lewis Russell <lewis6991@gmail.com> | 2024-01-17 10:10:17 +0000 |
commit | b536e0ba37addaea5507b054120e4c1e122c4405 (patch) | |
tree | 7941777386b9467824c9089510b33acf9323e75d /test/functional/ui/messages_spec.lua | |
parent | b3e5587b7f1cd6206240aea38740d2205c10ae34 (diff) | |
download | rneovim-b536e0ba37addaea5507b054120e4c1e122c4405.tar.gz rneovim-b536e0ba37addaea5507b054120e4c1e122c4405.tar.bz2 rneovim-b536e0ba37addaea5507b054120e4c1e122c4405.zip |
test: big cleanup followup
Followup to 07a7c0ec
Diffstat (limited to 'test/functional/ui/messages_spec.lua')
-rw-r--r-- | test/functional/ui/messages_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/ui/messages_spec.lua b/test/functional/ui/messages_spec.lua index 4f95cd909c..a742f765a9 100644 --- a/test/functional/ui/messages_spec.lua +++ b/test/functional/ui/messages_spec.lua @@ -1039,7 +1039,7 @@ stack traceback: end) it('supports nvim_echo messages with multiple attrs', function() - async_meths.echo( + async_meths.nvim_echo( { { 'wow, ', 'Search' }, { 'such\n\nvery ', 'ErrorMsg' }, { 'color', 'LineNr' } }, true, {} @@ -1403,7 +1403,7 @@ vimComment xxx match /\s"[^\-:.%#=*].*$/ms=s+1,lc=1 excludenl contains=@vim end) it('supports nvim_echo messages with multiple attrs', function() - async_meths.echo( + async_meths.nvim_echo( { { 'wow, ', 'Search' }, { 'such\n\nvery ', 'ErrorMsg' }, { 'color', 'LineNr' } }, true, {} @@ -1521,7 +1521,7 @@ vimComment xxx match /\s"[^\-:.%#=*].*$/ms=s+1,lc=1 excludenl contains=@vim end) it('consecutive calls to win_move_statusline() work after multiline message #21014', function() - async_meths.exec( + async_meths.nvim_exec( [[ echo "\n" call win_move_statusline(0, -4) @@ -2196,7 +2196,7 @@ aliquip ex ea commodo consequat.]] } -- not processed while command is executing - async_meths.ui_try_resize(35, 5) + async_meths.nvim_ui_try_resize(35, 5) -- TODO(bfredl): ideally it should be processed just -- before the "press ENTER" prompt though |