1
0
forked from aniani/vim

patch 9.0.0609: blockedit test fails because of wrong indent

Problem:    Blockedit test fails because of wrong indent.
Solution:   Adjust the expected text temporarily
This commit is contained in:
Bram Moolenaar
2022-09-27 17:47:12 +01:00
parent 9fbdbb814f
commit 66000ff9af
2 changed files with 6 additions and 2 deletions

View File

@@ -28,6 +28,7 @@ func Test_blockinsert_autoindent()
setlocal sw=2 et ft=vim setlocal sw=2 et ft=vim
setlocal indentkeys+=: setlocal indentkeys+=:
exe "norm! 2Gf)\<c-v>2jA: asdf\<esc>" exe "norm! 2Gf)\<c-v>2jA: asdf\<esc>"
" FIXME: what do we really expect?
let expected =<< trim END let expected =<< trim END
var d = { var d = {
a: (): asdf => 0, a: (): asdf => 0,
@@ -47,6 +48,7 @@ func Test_blockinsert_autoindent()
call setline(1, lines) call setline(1, lines)
setlocal sw=8 noet setlocal sw=8 noet
exe "norm! 2Gf)\<c-v>2jA: asdf\<esc>" exe "norm! 2Gf)\<c-v>2jA: asdf\<esc>"
" FIXME: what do we really expect?
let expected =<< trim END let expected =<< trim END
var d = { var d = {
a: (): asdf => 0, a: (): asdf => 0,

View File

@@ -699,6 +699,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
609,
/**/ /**/
608, 608,
/**/ /**/