changeset 32625:dce7b700c746 v9.0.1644

patch 9.0.1644: not all filetype file name matches are tested Commit: https://github.com/vim/vim/commit/bd087ae8f07f026bbd179911830027ff92f42c01 Author: smjonas <jonas.strittmatter@gmx.de> Date: Thu Jun 22 12:41:19 2023 +0100 patch 9.0.1644: not all filetype file name matches are tested Problem: Not all filetype file name matches are tested. Solution: Add more file names to test with. (Jonas Strittmatter, closes #12569)
author Bram Moolenaar <Bram@vim.org>
date Thu, 22 Jun 2023 13:45:03 +0200
parents d1de2966b84f
children 38e319dacbfe
files src/testdir/test_filetype.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -601,7 +601,7 @@ def s:GetFilenameChecks(): dict<list<str
     services: ['/etc/services', 'any/etc/services'],
     setserial: ['/etc/serial.conf', 'any/etc/serial.conf'],
     sexplib: ['file.sexp'],
-    sh: ['.bashrc', 'file.bash', '/usr/share/doc/bash-completion/filter.sh', '/etc/udev/cdsymlinks.conf', 'any/etc/udev/cdsymlinks.conf'],
+    sh: ['.bashrc', '.bash_profile', '.bash-profile', '.bash_logout', '.bash-logout', '.bash_aliases', '.bash-aliases', '/tmp/bash-fc-3Ozjlw', '/tmp/bash-fc.3Ozjlw', 'PKGBUILD', 'APKBUILD', 'file.bash', '/usr/share/doc/bash-completion/filter.sh', '/etc/udev/cdsymlinks.conf', 'any/etc/udev/cdsymlinks.conf'],
     sieve: ['file.siv', 'file.sieve'],
     sil: ['file.sil'],
     simula: ['file.sim'],
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1644,
+/**/
     1643,
 /**/
     1642,