aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-01-07 09:51:06 +0800
committerGitHub <noreply@github.com>2022-01-06 18:51:06 -0700
commite58071c92c98fa54fcb29ab87ac6de7c02ede27b (patch)
tree0876f9ad9decbc375423775290f9035ae6f7fa3c /src
parentb43575545272aeecf4e140b47485f94131430123 (diff)
downloadrneovim-e58071c92c98fa54fcb29ab87ac6de7c02ede27b.tar.gz
rneovim-e58071c92c98fa54fcb29ab87ac6de7c02ede27b.tar.bz2
rneovim-e58071c92c98fa54fcb29ab87ac6de7c02ede27b.zip
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) https://github.com/vim/vim/commit/6ba24d87630b1ec2b8c7ff71550c9e41d143800e
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_search_stat.vim1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_search_stat.vim b/src/nvim/testdir/test_search_stat.vim
index 335a51268d..f7f7467e91 100644
--- a/src/nvim/testdir/test_search_stat.vim
+++ b/src/nvim/testdir/test_search_stat.vim
@@ -73,7 +73,6 @@ func Test_search_stat()
let stat = '\[2/50\]'
let g:a = execute(':unsilent :norm! n')
call assert_notmatch(pat .. stat, g:a)
- call writefile(getline(1, '$'), 'sample.txt')
" n does not update search stat
call assert_equal(
\ #{current: 50, exact_match: 1, total: 50, incomplete: 0, maxcount: 99},