1
0
forked from aniani/vim

patch 9.0.1258: code style test fails

Problem:    Code style test fails.
Solution:   Adjust test files.
This commit is contained in:
Bram Moolenaar
2023-01-28 19:38:49 +00:00
parent 94722c5107
commit 755bf2b3d2
3 changed files with 27 additions and 25 deletions

View File

@@ -3681,23 +3681,23 @@ func Test_popupmenu_info_too_wide()
let menuText = 'some long text to make sure the menu takes up all of the width of the window' let menuText = 'some long text to make sure the menu takes up all of the width of the window'
return #{ return #{
\ words: [ \ words: [
\ #{ \ #{
\ word: 'scrap', \ word: 'scrap',
\ menu: menuText, \ menu: menuText,
\ info: "other words are\ncooler than this and some more text\nto make wrap", \ info: "other words are\ncooler than this and some more text\nto make wrap",
\ }, \ },
\ #{ \ #{
\ word: 'scappier', \ word: 'scappier',
\ menu: menuText, \ menu: menuText,
\ info: 'words are cool', \ info: 'words are cool',
\ }, \ },
\ #{ \ #{
\ word: 'scrappier2', \ word: 'scrappier2',
\ menu: menuText, \ menu: menuText,
\ info: 'words are cool', \ info: 'words are cool',
\ }, \ },
\ ] \ ]
\ } \ }
endfunc endfunc
END END

View File

@@ -695,6 +695,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 */
/**/
1258,
/**/ /**/
1257, 1257,
/**/ /**/