Mercurial > vim
diff src/testdir/test_popupwin_textprop.vim @ 31849:dbec60b8c253 v9.0.1257
patch 9.0.1257: code style is not check in test scripts
Commit: https://github.com/vim/vim/commit/94722c510745a0cfd494c51625a514b92dd2bfb2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 28 19:19:03 2023 +0000
patch 9.0.1257: code style is not check in test scripts
Problem: Code style is not check in test scripts.
Solution: Add basic code style check for test files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 28 Jan 2023 20:30:04 +0100 |
parents | 457ea0570b6f |
children |
line wrap: on
line diff
--- a/src/testdir/test_popupwin_textprop.vim +++ b/src/testdir/test_popupwin_textprop.vim @@ -21,7 +21,7 @@ func Test_textprop_popup() \ bufnr: bufnr('%'), \ }) let winid = popup_create('the text', #{ - \ pos: 'botleft', + \ pos: 'botleft', \ textprop: 'popupMarker', \ border: [], \ padding: [0,1,0,1], @@ -67,25 +67,25 @@ func Test_textprop_popup_corners() \ type: 'popupMarker', \ }) let winid = popup_create('bottom left', #{ - \ pos: 'botleft', + \ pos: 'botleft', \ textprop: 'popupMarker', \ textpropwin: win_getid(), \ padding: [0,1,0,1], \ }) let winid = popup_create('bottom right', #{ - \ pos: 'botright', + \ pos: 'botright', \ textprop: 'popupMarker', \ border: [], \ padding: [0,1,0,1], \ }) let winid = popup_create('top left', #{ - \ pos: 'topleft', + \ pos: 'topleft', \ textprop: 'popupMarker', \ border: [], \ padding: [0,1,0,1], \ }) let winid = popup_create('top right', #{ - \ pos: 'topright', + \ pos: 'topright', \ textprop: 'popupMarker', \ padding: [0,1,0,1], \ }) @@ -127,14 +127,14 @@ func Test_textprop_popup_offsets() \ type: 'popupMarker', \ }) let winid = popup_create('bottom left', #{ - \ pos: 'botleft', + \ pos: 'botleft', \ line: -1, \ col: 2, \ textprop: 'popupMarker', \ padding: [0,1,0,1], \ }) let winid = popup_create('bottom right', #{ - \ pos: 'botright', + \ pos: 'botright', \ line: -1, \ col: -2, \ textprop: 'popupMarker', @@ -142,7 +142,7 @@ func Test_textprop_popup_offsets() \ padding: [0,1,0,1], \ }) let winid = popup_create('top left', #{ - \ pos: 'topleft', + \ pos: 'topleft', \ line: 1, \ col: 2, \ textprop: 'popupMarker', @@ -150,7 +150,7 @@ func Test_textprop_popup_offsets() \ padding: [0,1,0,1], \ }) let winid = popup_create('top right', #{ - \ pos: 'topright', + \ pos: 'topright', \ line: 1, \ col: -2, \ textprop: 'popupMarker',