mirror of
https://github.com/vim/vim.git
synced 2025-10-15 07:14:09 -04:00
patch 8.2.0615: regexp benchmark stest is old style
Problem: Regexp benchmark stest is old style. Solution: Make it a new style test. Fix using a NULL list. Add more tests. (Yegappan Lakshmanan, closes #5963)
This commit is contained in:
@@ -1079,4 +1079,16 @@ func Test_split_cmds_with_no_room()
|
||||
call Run_noroom_for_newwindow_test('v')
|
||||
endfunc
|
||||
|
||||
" Test for various wincmd failures
|
||||
func Test_wincmd_fails()
|
||||
only!
|
||||
call assert_beeps("normal \<C-W>w")
|
||||
call assert_beeps("normal \<C-W>p")
|
||||
call assert_beeps("normal \<C-W>gk")
|
||||
call assert_beeps("normal \<C-W>r")
|
||||
call assert_beeps("normal \<C-W>K")
|
||||
call assert_beeps("normal \<C-W>H")
|
||||
call assert_beeps("normal \<C-W>2gt")
|
||||
endfunc
|
||||
|
||||
" vim: shiftwidth=2 sts=2 expandtab
|
||||
|
Reference in New Issue
Block a user