summaryrefslogtreecommitdiff
path: root/src/testdir/test_cursorline.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-10-05 21:57:12 +0200
committerBram Moolenaar <Bram@vim.org>2019-10-05 21:57:12 +0200
commit49474ca12236776bb56aeb9d39bd6592e28157c7 (patch)
tree99b57d9464cf8e999ed19cb47b605b1ec1bcb689 /src/testdir/test_cursorline.vim
parent1671de3098b7ab663398dd694b314e7f67a93411 (diff)
downloadvim-git-49474ca12236776bb56aeb9d39bd6592e28157c7.tar.gz
patch 8.1.2117: CursorLine highlight used while 'cursorline' is offv8.1.2117
Problem: CursorLine highlight used while 'cursorline' is off. Solution: Check 'cursorline' is set. (cloes #5017)
Diffstat (limited to 'src/testdir/test_cursorline.vim')
-rw-r--r--src/testdir/test_cursorline.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_cursorline.vim b/src/testdir/test_cursorline.vim
index 49df94f90..d4a03afd3 100644
--- a/src/testdir/test_cursorline.vim
+++ b/src/testdir/test_cursorline.vim
@@ -52,7 +52,7 @@ func Test_cursorline_highlight1()
setl nocursorline relativenumber
redraw
let attr31 = s:screen_attr(1)
- call assert_equal(attr21[0:3], attr31[0:3])
+ call assert_equal(attr22[0:3], attr31[0:3])
call assert_equal(attr11[4:7], attr31[4:7])
call s:close_windows()