changeset 20798:ce36225c9bed v8.2.0951

patch 8.2.0951: search stat test has leftover from debugging Commit: https://github.com/vim/vim/commit/6ba24d87630b1ec2b8c7ff71550c9e41d143800e Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 10 20:21:09 2020 +0200 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 https://github.com/vim/vim/issues/6224)
author Bram Moolenaar <Bram@vim.org>
date Wed, 10 Jun 2020 20:30:03 +0200
parents 46dea7033d30
children a3f74832de9b
files src/testdir/test_search_stat.vim src/version.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_search_stat.vim
+++ b/src/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},
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    951,
+/**/
     950,
 /**/
     949,