0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

patch 8.1.1634: terminal test fails when term_getansicolors() is missing

Problem:    Terminal test fails when term_getansicolors() is missing.
            Diff test fails without +rightleft.  (Dominique Pelle)
Solution:   Check if term_getansicolors() is supported. (closes #4597)
This commit is contained in:
Bram Moolenaar
2019-07-04 22:32:39 +02:00
parent b7ed839976
commit 981d9dc8f3
3 changed files with 14 additions and 0 deletions

View File

@@ -909,6 +909,9 @@ func Test_diff_of_diff()
if !CanRunVimInTerminal()
throw 'Skipped: cannot run Vim in a terminal window'
endif
if !has("rightleft")
throw 'Skipped: rightleft not supported'
endif
call writefile([
\ 'call setline(1, ["aa","bb","cc","@@ -3,2 +5,7 @@","dd","ee","ff"])',