mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -04:00
11 lines
211 B
VimL
11 lines
211 B
VimL
![]() |
" Tests for various Ex commands.
|
||
|
|
||
|
func Test_ex_delete()
|
||
|
new
|
||
|
call setline(1, ['a', 'b', 'c'])
|
||
|
2
|
||
|
" :dl is :delete with the "l" flag, not :dlist
|
||
|
.dl
|
||
|
call assert_equal(['a', 'c'], getline(1, 2))
|
||
|
endfunc
|