0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 8.2.0951: search stat test has leftover from debugging

Problem:    Search stat test has leftover from debugging.
Solution:   Remove line that writes a file. (Christian Brabandt, closes #6224)
This commit is contained in:
Bram Moolenaar
2020-06-10 20:21:09 +02:00
parent 13b8205b44
commit 6ba24d8763
2 changed files with 2 additions and 1 deletions

View File

@@ -73,7 +73,6 @@ func Test_search_stat()
let stat = '\[2/50\]' let stat = '\[2/50\]'
let g:a = execute(':unsilent :norm! n') let g:a = execute(':unsilent :norm! n')
call assert_notmatch(pat .. stat, g:a) call assert_notmatch(pat .. stat, g:a)
call writefile(getline(1, '$'), 'sample.txt')
" n does not update search stat " n does not update search stat
call assert_equal( call assert_equal(
\ #{current: 50, exact_match: 1, total: 50, incomplete: 0, maxcount: 99}, \ #{current: 50, exact_match: 1, total: 50, incomplete: 0, maxcount: 99},

View File

@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
951,
/**/ /**/
950, 950,
/**/ /**/