]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.0951: search stat test has leftover from debugging v8.2.0951
authorBram Moolenaar <Bram@vim.org>
Wed, 10 Jun 2020 18:21:09 +0000 (20:21 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 10 Jun 2020 18:21:09 +0000 (20:21 +0200)
Problem:    Search stat test has leftover from debugging.
Solution:   Remove line that writes a file. (Christian Brabandt, closes #6224)

src/testdir/test_search_stat.vim
src/version.c

index 7c4e13f4825a6fbf581fa46e96ec55f3b524d3f9..54b0c4d89c841ec7445b0e79a63f38e128d7720e 100644 (file)
@@ -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},
index abf9f6860a44a5d98a4545e826b406dc7e5f4c60..7b292acde0288d070eb502bc6d60f2db0f7cc070 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    951,
 /**/
     950,
 /**/