diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-07-04 21:08:47 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-07-05 21:26:47 -0400 |
commit | 255d18908944f3362517fe9e0ba61c4b3359dbeb (patch) | |
tree | c589dd760db7583df8fd089c379db3a4662ce534 | |
parent | 18ce2d30390e3f7292f615f150b31612163cffbe (diff) | |
download | rneovim-255d18908944f3362517fe9e0ba61c4b3359dbeb.tar.gz rneovim-255d18908944f3362517fe9e0ba61c4b3359dbeb.tar.bz2 rneovim-255d18908944f3362517fe9e0ba61c4b3359dbeb.zip |
vim-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 vim/vim#4597)
https://github.com/vim/vim/commit/981d9dc8f3d7a470eb3be7ba60fe1c1f31e7f470
-rw-r--r-- | src/nvim/testdir/test_diffmode.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_diffmode.vim b/src/nvim/testdir/test_diffmode.vim index 00f4563f3d..1ba36ca8e9 100644 --- a/src/nvim/testdir/test_diffmode.vim +++ b/src/nvim/testdir/test_diffmode.vim @@ -752,6 +752,9 @@ func Test_diff_of_diff() if !CanRunVimInTerminal() return 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"])', |