mirror of
https://github.com/neovim/neovim.git
synced 2026-04-22 15:25:30 +00:00
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.
9308c85a7e
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -127,7 +127,7 @@ func Test_cindent_func()
|
|||||||
bwipe!
|
bwipe!
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_cindent_1()
|
func Test_cindent_01()
|
||||||
new
|
new
|
||||||
setl cindent ts=4 sw=4
|
setl cindent ts=4 sw=4
|
||||||
setl cino& sts&
|
setl cino& sts&
|
||||||
@@ -2150,7 +2150,7 @@ func Test_cindent_1()
|
|||||||
enew! | close
|
enew! | close
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_cindent_2()
|
func Test_cindent_02()
|
||||||
new
|
new
|
||||||
setl cindent ts=4 sw=4
|
setl cindent ts=4 sw=4
|
||||||
setl tw=0 noai fo=croq
|
setl tw=0 noai fo=croq
|
||||||
@@ -2192,7 +2192,7 @@ func Test_cindent_2()
|
|||||||
enew! | close
|
enew! | close
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_cindent_3()
|
func Test_cindent_03()
|
||||||
new
|
new
|
||||||
setl nocindent ts=4 sw=4
|
setl nocindent ts=4 sw=4
|
||||||
|
|
||||||
@@ -2252,7 +2252,7 @@ func Test_cindent_3()
|
|||||||
enew! | close
|
enew! | close
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_cindent_4()
|
func Test_cindent_04()
|
||||||
new
|
new
|
||||||
setl cindent ts=4 sw=4
|
setl cindent ts=4 sw=4
|
||||||
|
|
||||||
@@ -2282,7 +2282,7 @@ func Test_cindent_4()
|
|||||||
enew! | close
|
enew! | close
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_cindent_5()
|
func Test_cindent_05()
|
||||||
new
|
new
|
||||||
setl cindent ts=4 sw=4
|
setl cindent ts=4 sw=4
|
||||||
setl cino=}4
|
setl cino=}4
|
||||||
@@ -2332,7 +2332,7 @@ func Test_cindent_5()
|
|||||||
enew! | close
|
enew! | close
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_cindent_6()
|
func Test_cindent_06()
|
||||||
new
|
new
|
||||||
setl cindent ts=4 sw=4
|
setl cindent ts=4 sw=4
|
||||||
setl cino=(0,)20
|
setl cino=(0,)20
|
||||||
@@ -2395,7 +2395,7 @@ func Test_cindent_6()
|
|||||||
enew! | close
|
enew! | close
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_cindent_7()
|
func Test_cindent_07()
|
||||||
new
|
new
|
||||||
setl cindent ts=4 sw=4
|
setl cindent ts=4 sw=4
|
||||||
setl cino=es,n0s
|
setl cino=es,n0s
|
||||||
@@ -2436,7 +2436,7 @@ func Test_cindent_7()
|
|||||||
enew! | close
|
enew! | close
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_cindent_8()
|
func Test_cindent_08()
|
||||||
new
|
new
|
||||||
setl cindent ts=4 sw=4
|
setl cindent ts=4 sw=4
|
||||||
setl cino=
|
setl cino=
|
||||||
@@ -2484,7 +2484,7 @@ func Test_cindent_8()
|
|||||||
enew! | close
|
enew! | close
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_cindent_9()
|
func Test_cindent_09()
|
||||||
new
|
new
|
||||||
setl cindent ts=4 sw=4
|
setl cindent ts=4 sw=4
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user