Skip to content

Commit e443cdc

Browse files
committed
Improve tests
1 parent 60defd0 commit e443cdc

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

test/indent.vimspec

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,15 @@ Describe filetype indent
119119
End
120120

121121
Describe logical line
122+
It indents like the previous line
123+
let in = "\<CR>i = 1"
124+
let out = [
125+
\ '',
126+
\ 'i = 1',
127+
\]
128+
Assert Equals(Insert(in), Buffer(out))
129+
End
130+
122131
It indents like the previous line (line continuation)
123132
let in = "def func():\<CR>"
124133
let in .= "i = 1 + \\\<CR>2 + \\\<CR>3\<CR>"

0 commit comments

Comments
 (0)