diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-02 18:01:50 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-02 18:01:50 +0200 |
commit | da22b8cc8b1b96fabd5a4c35c57b04a351340fb1 (patch) | |
tree | 1f3b1aa24674d76a16b03c3d12d447d1c2b9cb25 /src/testdir/test_diffmode.vim | |
parent | dada6d2a8e887309e88cb126f1251d81f91b4b9d (diff) | |
download | vim-git-da22b8cc8b1b96fabd5a4c35c57b04a351340fb1.tar.gz |
patch 8.0.1037: "icase" of 'diffopt' is not used for highlightingv8.0.1037
Problem: "icase" of 'diffopt' is not used for highlighting differences.
Solution: Also use "icase". (Rick Howe)
Diffstat (limited to 'src/testdir/test_diffmode.vim')
-rw-r--r-- | src/testdir/test_diffmode.vim | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/testdir/test_diffmode.vim b/src/testdir/test_diffmode.vim index 088ec5ccf..3625a68e5 100644 --- a/src/testdir/test_diffmode.vim +++ b/src/testdir/test_diffmode.vim @@ -280,13 +280,13 @@ func Test_diffopt_icase() set diffopt=icase,foldcolumn:0 e one - call setline(1, ['One', 'Two', 'Three', 'Four']) + call setline(1, ['One', 'Two', 'Three', 'Four', 'Fi#ve']) redraw let normattr = screenattr(1, 1) diffthis botright vert new two - call setline(1, ['one', 'TWO', 'Three ', 'Four']) + call setline(1, ['one', 'TWO', 'Three ', 'Four', 'fI=VE']) diffthis redraw @@ -295,6 +295,10 @@ func Test_diffopt_icase() call assert_notequal(normattr, screenattr(3, 1)) call assert_equal(normattr, screenattr(4, 1)) + let dtextattr = screenattr(5, 3) + call assert_notequal(dtextattr, screenattr(5, 1)) + call assert_notequal(dtextattr, screenattr(5, 5)) + diffoff! %bwipe! set diffopt& |