patch 9.1.1290: tests: missing cleanup in test_filetype.vim

Commit: 
https://github.com/vim/vim/commit/b0e19f9e1b43328158784ad2429880e0370b5e7b
Author: zeertzjq <zeert...@outlook.com>
Date:   Thu Apr 10 19:54:16 2025 +0200

    patch 9.1.1290: tests: missing cleanup in test_filetype.vim
    
    Problem:  tests: missing cleanup in test_filetype.vim, wrong name in
              test_plugin_matchparen
    Solution: Add :bwipe corresponding to :split, rename test case
    
    closes: #17088
    
    Signed-off-by: zeertzjq <zeert...@outlook.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index e2286abd3..b3e60e29f 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -2814,6 +2814,7 @@ func Test_pro_file()
   call writefile(['x = findgen(100)/10'], 'Xfile.pro', 'D')
   split Xfile.pro
   call assert_equal('idlang', &filetype)
+  bwipe!
 
   filetype off
 endfunc
@@ -2847,6 +2848,7 @@ func Test_pl_file()
   call writefile(['%data = (1, 2, 3);'], 'Xfile.pl', 'D')
   split Xfile.pl
   call assert_equal('perl', &filetype)
+  bwipe!
 
   filetype off
 endfunc
@@ -2892,6 +2894,7 @@ func Test_org_file()
   call writefile(['* org Headline', '*some bold text*', '/some italic text/'], 
'Xfile.org', 'D')
   split Xfile.org
   call assert_equal('org', &filetype)
+  bwipe!
 
   filetype off
 endfunc
diff --git a/src/testdir/test_plugin_matchparen.vim 
b/src/testdir/test_plugin_matchparen.vim
index dca6e3258..74563a19a 100644
--- a/src/testdir/test_plugin_matchparen.vim
+++ b/src/testdir/test_plugin_matchparen.vim
@@ -178,7 +178,7 @@ func Test_matchparen_ignore_sh_case()
 endfunc
 
 " Test for the WinScrolled event
-func Test_scroll_winenter()
+func Test_scroll_winscrolled()
   CheckScreendump
 
   let lines =<< trim END
diff --git a/src/version.c b/src/version.c
index 9cfbe0b2a..4609244f5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1290,
 /**/
     1289,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1u2wCC-00CX3M-HH%40256bit.org.

Raspunde prin e-mail lui