Mercurial > vim
comparison src/testdir/test_number.vim @ 19495:f6c87afa5501 v8.2.0305
patch 8.2.0305: relativenumber test fails on some systems
Commit: https://github.com/vim/vim/commit/8040a7147f5b896a702d1684e7831df107490f45
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 23 13:38:08 2020 +0100
patch 8.2.0305: relativenumber test fails on some systems
Problem: Relativenumber test fails on some systems. (James McCoy)
Solution: Clear the command line.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 23 Feb 2020 13:45:04 +0100 |
parents | b9cf60801963 |
children | c087099e9163 |
comparison
equal
deleted
inserted
replaced
19494:ce5a3b5ce969 | 19495:f6c87afa5501 |
---|---|
282 let buf = RunVimInTerminal('-S XTest_relnr', {'rows': 10, 'cols': 50}) | 282 let buf = RunVimInTerminal('-S XTest_relnr', {'rows': 10, 'cols': 50}) |
283 call term_wait(buf, 100) | 283 call term_wait(buf, 100) |
284 " Default colors | 284 " Default colors |
285 call VerifyScreenDump(buf, 'Test_relnr_colors_1', {}) | 285 call VerifyScreenDump(buf, 'Test_relnr_colors_1', {}) |
286 | 286 |
287 call term_sendkeys(buf, ":hi LineNrAbove ctermfg=blue\<CR>") | 287 call term_sendkeys(buf, ":hi LineNrAbove ctermfg=blue\<CR>:\<CR>") |
288 call VerifyScreenDump(buf, 'Test_relnr_colors_2', {}) | 288 call VerifyScreenDump(buf, 'Test_relnr_colors_2', {}) |
289 | 289 |
290 call term_sendkeys(buf, ":hi LineNrBelow ctermfg=green\<CR>") | 290 call term_sendkeys(buf, ":hi LineNrBelow ctermfg=green\<CR>:\<CR>") |
291 call VerifyScreenDump(buf, 'Test_relnr_colors_3', {}) | 291 call VerifyScreenDump(buf, 'Test_relnr_colors_3', {}) |
292 | 292 |
293 call term_sendkeys(buf, ":hi clear LineNrAbove\<CR>") | 293 call term_sendkeys(buf, ":hi clear LineNrAbove\<CR>") |
294 call VerifyScreenDump(buf, 'Test_relnr_colors_4', {}) | 294 call VerifyScreenDump(buf, 'Test_relnr_colors_4', {}) |
295 | 295 |