]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1644: not all filetype file name matches are tested v9.0.1644
authorsmjonas <jonas.strittmatter@gmx.de>
Thu, 22 Jun 2023 11:41:19 +0000 (12:41 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 22 Jun 2023 11:41:19 +0000 (12:41 +0100)
Problem:    Not all filetype file name matches are tested.
Solution:   Add more file names to test with. (Jonas Strittmatter,
            closes #12569)

src/testdir/test_filetype.vim
src/version.c

index 9c1b11d2a01ef140ee5b761927da8c44e5d9131a..8a38fb756e200fabaeb9c28ab61a1bd96c85be29 100644 (file)
@@ -601,7 +601,7 @@ def s:GetFilenameChecks(): dict<list<string>>
     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'],
index c5aa47af6076d79e06572b7d226e2e61b1e5f645..5ad3b34109874489180e63dca2762345a043e841 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1644,
 /**/
     1643,
 /**/