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:
@@ -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},
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user