diff options
Diffstat (limited to 'src/testdir/test_comments.vim')
-rw-r--r-- | src/testdir/test_comments.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_comments.vim b/src/testdir/test_comments.vim index c34b85c..67454f4 100644 --- a/src/testdir/test_comments.vim +++ b/src/testdir/test_comments.vim @@ -237,6 +237,12 @@ func Test_comment_autoformat() call feedkeys("aone\ntwo\n", 'xt') call assert_equal(['one', 'two', ''], getline(1, '$')) + set backspace=indent,eol,start + %d + call feedkeys("aone \n\<BS>", 'xt') + call assert_equal(['one'], getline(1, '$')) + set backspace& + close! endfunc |