aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_comments.vim
diff options
context:
space:
mode:
Diffstat (limited to 'test/old/testdir/test_comments.vim')
-rw-r--r--test/old/testdir/test_comments.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/old/testdir/test_comments.vim b/test/old/testdir/test_comments.vim
index c34b85c42d..67454f477e 100644
--- a/test/old/testdir/test_comments.vim
+++ b/test/old/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