Mercurial > vim
comparison src/testdir/test_popupwin.vim @ 31851:84bda983ee01 v9.0.1258
patch 9.0.1258: code style test fails
Commit: https://github.com/vim/vim/commit/755bf2b3d265ceb9c02752d4286a055e44f9ce29
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 28 19:38:49 2023 +0000
patch 9.0.1258: code style test fails
Problem: Code style test fails.
Solution: Adjust test files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 28 Jan 2023 20:45:03 +0100 |
parents | bda1452d81bc |
children | 19a9b8fe3b85 |
comparison
equal
deleted
inserted
replaced
31850:088d635bfa11 | 31851:84bda983ee01 |
---|---|
3679 return 0 | 3679 return 0 |
3680 endif | 3680 endif |
3681 | 3681 |
3682 let menuText = 'some long text to make sure the menu takes up all of the width of the window' | 3682 let menuText = 'some long text to make sure the menu takes up all of the width of the window' |
3683 return #{ | 3683 return #{ |
3684 \ words: [ | 3684 \ words: [ |
3685 \ #{ | 3685 \ #{ |
3686 \ word: 'scrap', | 3686 \ word: 'scrap', |
3687 \ menu: menuText, | 3687 \ menu: menuText, |
3688 \ info: "other words are\ncooler than this and some more text\nto make wrap", | 3688 \ info: "other words are\ncooler than this and some more text\nto make wrap", |
3689 \ }, | 3689 \ }, |
3690 \ #{ | 3690 \ #{ |
3691 \ word: 'scappier', | 3691 \ word: 'scappier', |
3692 \ menu: menuText, | 3692 \ menu: menuText, |
3693 \ info: 'words are cool', | 3693 \ info: 'words are cool', |
3694 \ }, | 3694 \ }, |
3695 \ #{ | 3695 \ #{ |
3696 \ word: 'scrappier2', | 3696 \ word: 'scrappier2', |
3697 \ menu: menuText, | 3697 \ menu: menuText, |
3698 \ info: 'words are cool', | 3698 \ info: 'words are cool', |
3699 \ }, | 3699 \ }, |
3700 \ ] | 3700 \ ] |
3701 \ } | 3701 \ } |
3702 endfunc | 3702 endfunc |
3703 END | 3703 END |
3704 | 3704 |
3705 call writefile(lines, 'XtestInfoPopupWide', 'D') | 3705 call writefile(lines, 'XtestInfoPopupWide', 'D') |