diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-04 21:18:46 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-04 21:18:46 +0200 |
commit | e2e4075fad1326181edc5a131e48c644ef613693 (patch) | |
tree | f3749b559e690b3e8e80990441aeb6459d955fce /src/testdir/test_hlsearch.vim | |
parent | 24f7750ffa9730579736d779b7cc94faff325fc1 (diff) | |
download | vim-git-e2e4075fad1326181edc5a131e48c644ef613693.tar.gz |
patch 8.2.1593: tests do not check the error number properlyv8.2.1593
Problem: Tests do not check the error number properly.0
Solution: Add a colon after the error number. (closes #6869)
Diffstat (limited to 'src/testdir/test_hlsearch.vim')
-rw-r--r-- | src/testdir/test_hlsearch.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_hlsearch.vim b/src/testdir/test_hlsearch.vim index 58e1d8c63..db54ed4af 100644 --- a/src/testdir/test_hlsearch.vim +++ b/src/testdir/test_hlsearch.vim @@ -28,7 +28,7 @@ func Test_hlsearch() set nohls exe "normal! /\<CR>" | redraw call assert_notequal(r1, screenattr(1,1)) - call assert_fails('let v:hlsearch=[]', 'E745') + call assert_fails('let v:hlsearch=[]', 'E745:') call garbagecollect(1) call getchar(1) enew! |