aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-03-09 12:27:01 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-03-09 12:27:20 +0800
commit6416c6bc94fa7ae553a6020d0ed2f07dd34ee3f1 (patch)
treedc69b7436610eb24341be46c74dd8824a67a7d51
parent54022a2946aca5de991e7fa1ebc2954340ec20a8 (diff)
downloadrneovim-6416c6bc94fa7ae553a6020d0ed2f07dd34ee3f1.tar.gz
rneovim-6416c6bc94fa7ae553a6020d0ed2f07dd34ee3f1.tar.bz2
rneovim-6416c6bc94fa7ae553a6020d0ed2f07dd34ee3f1.zip
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.
-rw-r--r--test/old/testdir/test_window_cmd.vim13
1 files changed, 0 insertions, 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