Mercurial > vim
comparison src/testdir/test_signs.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 | 552ca9b4218d |
children | 94f4a488412e |
comparison
equal
deleted
inserted
replaced
31848:b83cac410fcf | 31849:dbec60b8c253 |
---|---|
1773 CheckRunVimInTerminal | 1773 CheckRunVimInTerminal |
1774 | 1774 |
1775 let lines =<< trim END | 1775 let lines =<< trim END |
1776 call setline(1, [repeat('x', 75), 'mmmm', 'yyyy']) | 1776 call setline(1, [repeat('x', 75), 'mmmm', 'yyyy']) |
1777 call cursor(2,1) | 1777 call cursor(2,1) |
1778 sign define s1 texthl=Search text==> | 1778 sign define s1 texthl=Search text==> |
1779 sign define s2 linehl=Pmenu | 1779 sign define s2 linehl=Pmenu |
1780 redraw | 1780 redraw |
1781 sign place 10 line=2 name=s1 | 1781 sign place 10 line=2 name=s1 |
1782 END | 1782 END |
1783 call writefile(lines, 'XtestSigncolumn', 'D') | 1783 call writefile(lines, 'XtestSigncolumn', 'D') |
1784 let buf = RunVimInTerminal('-S XtestSigncolumn', {'rows': 6}) | 1784 let buf = RunVimInTerminal('-S XtestSigncolumn', {'rows': 6}) |
1785 call VerifyScreenDump(buf, 'Test_sign_cursor_1', {}) | 1785 call VerifyScreenDump(buf, 'Test_sign_cursor_1', {}) |
1786 | 1786 |