Mercurial > vim
comparison src/testdir/test_signs.vim @ 20625:116c7bd5e980 v8.2.0866
patch 8.2.0866: not enough tests for buffer writing
Commit: https://github.com/vim/vim/commit/494e9069cb32620f7688a7cb128a3feff827639e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 31 21:28:02 2020 +0200
patch 8.2.0866: not enough tests for buffer writing
Problem: Not enough tests for buffer writing.
Solution: Add more tests. Use CheckRunVimInTerminal in more places.
(Yegappan Lakshmanan, closes #6167)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 31 May 2020 21:30:03 +0200 |
parents | 5b82f041dbbb |
children | 6a4806e326dd |
comparison
equal
deleted
inserted
replaced
20624:f782c48d548a | 20625:116c7bd5e980 |
---|---|
1732 enew! | only! | 1732 enew! | only! |
1733 endfunc | 1733 endfunc |
1734 | 1734 |
1735 " Test for correct cursor position after the sign column appears or disappears. | 1735 " Test for correct cursor position after the sign column appears or disappears. |
1736 func Test_sign_cursor_position() | 1736 func Test_sign_cursor_position() |
1737 if !CanRunVimInTerminal() | 1737 CheckRunVimInTerminal |
1738 throw 'Skipped: cannot make screendumps' | |
1739 endif | |
1740 | 1738 |
1741 let lines =<< trim END | 1739 let lines =<< trim END |
1742 call setline(1, [repeat('x', 75), 'mmmm', 'yyyy']) | 1740 call setline(1, [repeat('x', 75), 'mmmm', 'yyyy']) |
1743 call cursor(2,1) | 1741 call cursor(2,1) |
1744 sign define s1 texthl=Search text==> | 1742 sign define s1 texthl=Search text==> |