patch 9.2.0009: tests: test_cindent are not ordered
Commit:
https://github.com/vim/vim/commit/9308c85a7ee54d0a0d9956e4436cd5d1dce90914
Author: Christian Brabandt <
c...@256bit.org>
Date: Sun Feb 15 16:38:49 2026 +0000
patch 9.2.0009: tests: test_cindent are not ordered
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 <
c...@256bit.org>
diff --git a/src/testdir/test_cindent.vim b/src/testdir/test_cindent.vim
index bc973415b..4884dbb30 100644
--- a/src/testdir/test_cindent.vim
+++ b/src/testdir/test_cindent.vim
@@ -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
diff --git a/src/version.c b/src/version.c
index 7615dbdb3..1c7ecd3b1 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 9,
/**/
8,
/**/