]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0575: tests: filetype test for v9.2.0557 can be improved v9.2.0575
authorPatrick Meiser-Knosowski <knosowski@graeffrobotics.de>
Sun, 31 May 2026 19:52:46 +0000 (19:52 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 31 May 2026 19:52:46 +0000 (19:52 +0000)
Problem:  tests: filetype test for v9.2.0557 can be improved
Solution: Use a correct Kawasaki robot AS test file
          (Patrick Meiser-Knosowski)

related: #20370
closes:  #20387

Signed-off-by: Patrick Meiser-Knosowski <knosowski@graeffrobotics.de>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_filetype.vim
src/version.c

index 8ba27d5e1c6f9cf683cbefe2c90ba3aefe7b3f55..9dd8767fba074c13800af5f1c4ed37d17afe4960 100644 (file)
@@ -3552,7 +3552,7 @@ func Test_as_file()
   split Xfile.as
   call assert_equal('atlas', &filetype)
   bwipe!
-  call writefile(['', '.NETCONF'], 'Xfile.as', 'D')
+  call writefile(['', '.NETCONF     192.168.1.11,"TIMESYS-",255.255.255.0,192.168.0.1,0.0.0.0,0.0.0.0," "'], 'Xfile.as', 'D')
   split Xfile.as
   call assert_equal('kawasaki_as', &filetype)
   bwipe!
index 361a0ca1f575e17214eb6e295d99c76f14540fd7..e1dd6429bfe22b9106502740143808275495722e 100644 (file)
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    575,
 /**/
     574,
 /**/