]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.0781: tests: test_filetype fails v9.1.0781
authorChristian Brabandt <cb@256bit.org>
Sun, 13 Oct 2024 18:28:21 +0000 (20:28 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 13 Oct 2024 18:28:21 +0000 (20:28 +0200)
Problem:  tests: test_filetype fails (clason)
          (after v9.1.0779)
Solution: Use correct filename for neomuttlog filetype

related: #15845

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_filetype.vim
src/version.c

index 2b95b26ca65d6fe4a8fea2b2ab05873d4362263a..e6150c5f57308ef86a718add76b24aaf5575ac07 100644 (file)
@@ -526,7 +526,8 @@ def s:GetFilenameChecks(): dict<list<string>>
     nanorc: ['/etc/nanorc', 'file.nanorc', 'any/etc/nanorc'],
     natural: ['file.NSA', 'file.NSC', 'file.NSG', 'file.NSL', 'file.NSM', 'file.NSN', 'file.NSP', 'file.NSS'],
     ncf: ['file.ncf'],
-    neomuttrc: ['Neomuttrc', '.neomuttrc', '.neomuttrc-file', '/.neomutt/neomuttrc', '/.neomutt/neomuttrc-file', 'Neomuttrc', 'Neomuttrc-file', 'any/.neomutt/neomuttrc', 'any/.neomutt/neomuttrc-file', 'neomuttrc', 'neomuttrc-file', 'neomuttlog'],
+    neomuttlog: ['foo.neomuttdebug'],
+    neomuttrc: ['Neomuttrc', '.neomuttrc', '.neomuttrc-file', '/.neomutt/neomuttrc', '/.neomutt/neomuttrc-file', 'Neomuttrc', 'Neomuttrc-file', 'any/.neomutt/neomuttrc', 'any/.neomutt/neomuttrc-file', 'neomuttrc', 'neomuttrc-file' ],
     netrc: ['.netrc'],
     nginx: ['file.nginx', 'nginxfile.conf', 'filenginx.conf', 'any/etc/nginx/file', 'any/usr/local/nginx/conf/file', 'any/nginx/file.conf'],
     nim: ['file.nim', 'file.nims', 'file.nimble'],
index 76d1889ee50c65ca843ab22cef8632d5fc4c0538..8f3f54d69fae105f3b129fb09243f2a4967fb61f 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    781,
 /**/
     780,
 /**/