blob: 8a028f1e5590ab174de824899f909df1cde8e70e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
" Test for joining lines.
func Test_join_with_count()
new
call setline(1, ['one', 'two', 'three', 'four'])
normal J
call assert_equal('one two', getline(1))
%del
call setline(1, ['one', 'two', 'three', 'four'])
normal 10J
call assert_equal('one two three four', getline(1))
quit!
endfunc
|