Bram Moolenaar | 94f82cb | 2019-07-24 22:30:27 +0200 | [diff] [blame] | 1 | " Tests for various Ex commands. |
2 | |||||
3 | func Test_ex_delete() | ||||
4 | new | ||||
5 | call setline(1, ['a', 'b', 'c']) | ||||
6 | 2 | ||||
7 | " :dl is :delete with the "l" flag, not :dlist | ||||
8 | .dl | ||||
9 | call assert_equal(['a', 'c'], getline(1, 2)) | ||||
10 | endfunc |