changeset 13128:41b7a660ed2a v8.0.1438

patch 8.0.1438: filetype detection test not updated for change commit https://github.com/vim/vim/commit/0479e910c423d71e2b96bc721feffad5808e767a Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 29 09:17:32 2018 +0100 patch 8.0.1438: filetype detection test not updated for change Problem: Filetype detection test not updated for change. Solution: Update the test.
author Christian Brabandt <cb@256bit.org>
date Mon, 29 Jan 2018 09:30:05 +0100
parents fad0ccbf8e78
children f2f02cb95fbc
files src/testdir/test_filetype.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -323,7 +323,9 @@ let s:filename_checks = {
     \ 'pf': ['pf.conf'],
     \ 'pfmain': ['main.cf'],
     \ 'php': ['file.php', 'file.php9', 'file.phtml', 'file.ctp'],
-    \ 'pike': ['file.pike', 'file.lpc', 'file.ulpc', 'file.pmod'],
+    \ 'lpc': ['file.lpc', 'file.ulpc'],
+    \ 'pike': ['file.pike', 'file.pmod'],
+    \ 'cmod': ['file.cmod'],
     \ 'pilrc': ['file.rcp'],
     \ 'pine': ['.pinerc', 'pinerc', '.pinercex', 'pinercex'],
     \ 'pinfo': ['/etc/pinforc', '/.pinforc'],
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1438,
+/**/
     1437,
 /**/
     1436,