Mercurial > vim
comparison src/testdir/test_diffmode.vim @ 17270:9508c12eec55 v8.1.1634
patch 8.1.1634: terminal test fails when term_getansicolors() is missing
commit https://github.com/vim/vim/commit/981d9dc8f3d7a470eb3be7ba60fe1c1f31e7f470
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 4 22:32:39 2019 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 04 Jul 2019 22:45:05 +0200 |
parents | ba7727889385 |
children | f178127b7255 |
comparison
equal
deleted
inserted
replaced
17269:d70705e7bed5 | 17270:9508c12eec55 |
---|---|
907 | 907 |
908 func Test_diff_of_diff() | 908 func Test_diff_of_diff() |
909 if !CanRunVimInTerminal() | 909 if !CanRunVimInTerminal() |
910 throw 'Skipped: cannot run Vim in a terminal window' | 910 throw 'Skipped: cannot run Vim in a terminal window' |
911 endif | 911 endif |
912 if !has("rightleft") | |
913 throw 'Skipped: rightleft not supported' | |
914 endif | |
912 | 915 |
913 call writefile([ | 916 call writefile([ |
914 \ 'call setline(1, ["aa","bb","cc","@@ -3,2 +5,7 @@","dd","ee","ff"])', | 917 \ 'call setline(1, ["aa","bb","cc","@@ -3,2 +5,7 @@","dd","ee","ff"])', |
915 \ 'vnew', | 918 \ 'vnew', |
916 \ 'call setline(1, ["aa","bb","cc"])', | 919 \ 'call setline(1, ["aa","bb","cc"])', |