diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-04 22:32:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-04 22:32:39 +0200 |
commit | 981d9dc8f3d7a470eb3be7ba60fe1c1f31e7f470 (patch) | |
tree | 8cc227b11121a293be323e137f20ceb6cf98a190 /src/testdir/test_diffmode.vim | |
parent | b7ed839976120912c8a755fd1b0f67026b4b056f (diff) |
patch 8.1.1634: terminal test fails when term_getansicolors() is missingv8.1.1634
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)
Diffstat (limited to 'src/testdir/test_diffmode.vim')
-rw-r--r-- | src/testdir/test_diffmode.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_diffmode.vim b/src/testdir/test_diffmode.vim index e5a3f2fcf4..bf49740777 100644 --- a/src/testdir/test_diffmode.vim +++ b/src/testdir/test_diffmode.vim @@ -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"])', |