Skip to content

Commit c1c9bd1

Browse files
committed
add test for containing two newlines
1 parent 890ca5d commit c1c9bd1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

t/clang_format_spec.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,8 @@ describe 'empty buffer'
462462
end
463463

464464
it 'can format a buffer containing only new lines'
465+
call setline('.', ['', ''])
466+
ClangFormat
465467
call setline('.', ['', '', ''])
466468
ClangFormat
467469
end

0 commit comments

Comments
 (0)