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

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:
Christian Brabandt
2025-04-13 09:46:50 +02:00
parent c7704c6bc7
commit 7ad8c717c6

View File

@@ -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