From 6416c6bc94fa7ae553a6020d0ed2f07dd34ee3f1 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 9 Mar 2024 12:27:01 +0800 Subject: 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. --- test/old/testdir/test_window_cmd.vim | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/test/old/testdir/test_window_cmd.vim b/test/old/testdir/test_window_cmd.vim index e6d591f8c9..8898d3a02d 100644 --- 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 -- cgit