commit 6416c6bc94fa7ae553a6020d0ed2f07dd34ee3f1
parent 54022a2946aca5de991e7fa1ebc2954340ec20a8
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat, 9 Mar 2024 12:27:01 +0800
test(old): remove Test_floatwin_splitmove()
Its corresponding test in Vim is in test_popupwin.win, so having it in
the middle of test_window_cmd.vim is strange, and it is now covered by
tests in ui/float_spec.lua anyway.
Diffstat:
1 file changed, 0 insertions(+), 13 deletions(-)
diff --git a/test/old/testdir/test_window_cmd.vim b/test/old/testdir/test_window_cmd.vim
@@ -1164,19 +1164,6 @@ func Test_win_splitmove()
%bw!
endfunc
-func Test_floatwin_splitmove()
- vsplit
- let win2 = win_getid()
- let popup_winid = nvim_open_win(0, 0, {'relative': 'win',
- \ 'row': 3, 'col': 3, 'width': 12, 'height': 3})
- " Nvim: floating windows are supported for the first argument.
- " call assert_fails('call win_splitmove(popup_winid, win2)', 'E957:')
- call assert_fails('call win_splitmove(win2, popup_winid)', 'E957:')
-
- call nvim_win_close(popup_winid, 1)
- bwipe
-endfunc
-
" Test for the :only command
func Test_window_only()
new