mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 05:35:10 -07:00
vim-patch:8.2.0951: search stat test has leftover from debugging (#16967)
Problem: Search stat test has leftover from debugging.
Solution: Remove line that writes a file. (Christian Brabandt, closes vim/vim#6224)
6ba24d8763
This commit is contained in:
parent
b435755452
commit
e58071c92c
@ -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},
|
||||||
|
Loading…
Reference in New Issue
Block a user