Mercurial > vim
comparison src/testdir/test_highlight.vim @ 19255:04e1a025ef00 v8.2.0186
patch 8.2.0186: a couple of tests may fail when features are missing
Commit: https://github.com/vim/vim/commit/705724e430abd10ffdd5f1a2bb5a8f9223ff5cdd
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 31 21:13:42 2020 +0100
patch 8.2.0186: a couple of tests may fail when features are missing
Problem: A couple of tests may fail when features are missing.
Solution: Check for features. (Dominique Pelle, closes https://github.com/vim/vim/issues/5561)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 31 Jan 2020 21:15:04 +0100 |
parents | 79b689ff168d |
children | a4b65930a0dc |
comparison
equal
deleted
inserted
replaced
19254:ddb1b495da27 | 19255:04e1a025ef00 |
---|---|
620 call delete('Xtest_wincolor') | 620 call delete('Xtest_wincolor') |
621 endfunc | 621 endfunc |
622 | 622 |
623 func Test_wincolor_listchars() | 623 func Test_wincolor_listchars() |
624 CheckScreendump | 624 CheckScreendump |
625 CheckFeature conceal | |
625 | 626 |
626 let lines =<< trim END | 627 let lines =<< trim END |
627 call setline(1, ["one","\t\tsome random text enough long to show 'extends' and 'precedes' includingnbsps, preceding tabs and trailing spaces ","three"]) | 628 call setline(1, ["one","\t\tsome random text enough long to show 'extends' and 'precedes' includingnbsps, preceding tabs and trailing spaces ","three"]) |
628 set wincolor=Todo | 629 set wincolor=Todo |
629 set nowrap cole=1 cocu+=n | 630 set nowrap cole=1 cocu+=n |