mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 04:04:23 +08:00
tests: fix failing test
Some checks failed
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
Some checks failed
CI / Test (v7.4) (push) Has been cancelled
CI / Test (v8.0.0000) (push) Has been cancelled
CI / Test (v8.1.0000) (push) Has been cancelled
CI / Test (v8.2.0000) (push) Has been cancelled
CI / Test (v8.2.1000) (push) Has been cancelled
CI / Test (v9.0.0000) (push) Has been cancelled
CI / Test (v9.1.0000) (push) Has been cancelled
reviewdog / runner / vint (push) Has been cancelled
after c7704c6bc7 the tests fail, because the tests expect '%l'
in the output of `g:airline_section_z`, but it is now actually '%2l'.
So let's change the expected output for the test.
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -47,7 +47,7 @@ Describe init.vim
|
|||||||
|
|
||||||
It section z should be line numbers
|
It section z should be line numbers
|
||||||
Assert Match(g:airline_section_z, '%p%%')
|
Assert Match(g:airline_section_z, '%p%%')
|
||||||
Assert Match(g:airline_section_z, '%l')
|
Assert Match(g:airline_section_z, '%2l')
|
||||||
Assert Match(g:airline_section_z, '%v')
|
Assert Match(g:airline_section_z, '%v')
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user