neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 77d396caf4097228830e7e4c7f318f22da8892e0
parent b59eba3ada13ee3ceb0f8decebd261e55b2baa2d
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Mon, 16 Feb 2026 07:40:16 +0800

vim-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.

https://github.com/vim/vim/commit/9308c85a7ee54d0a0d9956e4436cd5d1dce90914

Co-authored-by: Christian Brabandt <cb@256bit.org>

Diffstat:
Mtest/old/testdir/test_cindent.vim | 18+++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/test/old/testdir/test_cindent.vim b/test/old/testdir/test_cindent.vim @@ -127,7 +127,7 @@ func Test_cindent_func() bwipe! endfunc -func Test_cindent_1() +func Test_cindent_01() new setl cindent ts=4 sw=4 setl cino& sts& @@ -2150,7 +2150,7 @@ func Test_cindent_1() enew! | close endfunc -func Test_cindent_2() +func Test_cindent_02() new setl cindent ts=4 sw=4 setl tw=0 noai fo=croq @@ -2192,7 +2192,7 @@ func Test_cindent_2() enew! | close endfunc -func Test_cindent_3() +func Test_cindent_03() new setl nocindent ts=4 sw=4 @@ -2252,7 +2252,7 @@ func Test_cindent_3() enew! | close endfunc -func Test_cindent_4() +func Test_cindent_04() new setl cindent ts=4 sw=4 @@ -2282,7 +2282,7 @@ func Test_cindent_4() enew! | close endfunc -func Test_cindent_5() +func Test_cindent_05() new setl cindent ts=4 sw=4 setl cino=}4 @@ -2332,7 +2332,7 @@ func Test_cindent_5() enew! | close endfunc -func Test_cindent_6() +func Test_cindent_06() new setl cindent ts=4 sw=4 setl cino=(0,)20 @@ -2395,7 +2395,7 @@ func Test_cindent_6() enew! | close endfunc -func Test_cindent_7() +func Test_cindent_07() new setl cindent ts=4 sw=4 setl cino=es,n0s @@ -2436,7 +2436,7 @@ func Test_cindent_7() enew! | close endfunc -func Test_cindent_8() +func Test_cindent_08() new setl cindent ts=4 sw=4 setl cino= @@ -2484,7 +2484,7 @@ func Test_cindent_8() enew! | close endfunc -func Test_cindent_9() +func Test_cindent_09() new setl cindent ts=4 sw=4