]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0009: tests: test_cindent are not ordered v9.2.0009
authorChristian Brabandt <cb@256bit.org>
Sun, 15 Feb 2026 16:38:49 +0000 (16:38 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 15 Feb 2026 16:41:34 +0000 (16:41 +0000)
Problem:  tests: the tests test_cindent_* functions were numbered
          inconsistently, causing them to be executed in wrong order.
Solution: Rename the test_cindent functions with zero-padded numbers.

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

index bc973415b548742ee315183ab6277dcd3bc2e0db..4884dbb304d4adfa83260957db4837ae75bb33c6 100644 (file)
@@ -132,7 +132,7 @@ def Test_cindent_func()
   bwipe!
 enddef
 
-def Test_cindent_1()
+def Test_cindent_01()
   new
   setl cindent ts=4 sw=4
   setl cino& sts&
@@ -2156,7 +2156,7 @@ def Test_cindent_1()
   bwipe!
 enddef
 
-def Test_cindent_2()
+def Test_cindent_02()
   new
   setl cindent ts=4 sw=4
   setl tw=0 noai fo=croq
@@ -2199,7 +2199,7 @@ def Test_cindent_2()
   bwipe!
 enddef
 
-def Test_cindent_3()
+def Test_cindent_03()
   new
   setl nocindent ts=4 sw=4
 
@@ -2260,7 +2260,7 @@ def Test_cindent_3()
   bwipe!
 enddef
 
-def Test_cindent_4()
+def Test_cindent_04()
   new
   setl cindent ts=4 sw=4
 
@@ -2291,7 +2291,7 @@ def Test_cindent_4()
   bwipe!
 enddef
 
-def Test_cindent_5()
+def Test_cindent_05()
   new
   setl cindent ts=4 sw=4
   setl cino=}4
@@ -2342,7 +2342,7 @@ def Test_cindent_5()
   bwipe!
 enddef
 
-def Test_cindent_6()
+def Test_cindent_06()
   new
   setl cindent ts=4 sw=4
   setl cino=(0,)20
@@ -2406,7 +2406,7 @@ def Test_cindent_6()
   bwipe!
 enddef
 
-def Test_cindent_7()
+def Test_cindent_07()
   new
   setl cindent ts=4 sw=4
   setl cino=es,n0s
@@ -2447,7 +2447,7 @@ def Test_cindent_7()
   bwipe!
 enddef
 
-def Test_cindent_8()
+def Test_cindent_08()
   new
   setl cindent ts=4 sw=4
   setl cino=
@@ -2496,7 +2496,7 @@ def Test_cindent_8()
   bwipe!
 enddef
 
-def Test_cindent_9()
+def Test_cindent_09()
   new
   setl cindent ts=4 sw=4
 
index 7615dbdb34d59fd7d1ce80c20d54ca328be638c9..1c7ecd3b170296e8c444ab1b4fecdc3c92f4c530 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    9,
 /**/
     8,
 /**/