From 4cc255a3849c15484f7da5b5039d73f1a567a7e2 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Fri, 13 Jul 2018 22:35:05 +0200 Subject: [PATCH] tests: Fix tabline tests --- t/extensions_tabline.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/extensions_tabline.vim b/t/extensions_tabline.vim index 34573c2e..9349b813 100644 --- a/t/extensions_tabline.vim +++ b/t/extensions_tabline.vim @@ -8,7 +8,7 @@ describe 'default' it 'should use a tabline' e! CHANGELOG.md sp CONTRIBUTING.md - Expect airline#extensions#tabline#get() == "%#airline_tabhid# %(%{airline#extensions#tabline#get_buffer_name(1)}%) | %(%{airline#extensions#tabline#get_buffer_name(2)}%) | %(%{airline#extensions#tabline#get_buffer_name(3)}%) %#airline_tabhid_to_airline_tab# %#airline_tab#%(%{airline#extensions#tabline#get_buffer_name(4)}%) %#airline_tab_to_airline_tabsel# %#airline_tabsel#%(%{airline#extensions#tabline#get_buffer_name(5)}%) %#airline_tabsel_to_airline_tabfill# %#airline_tabfill#%=%#airline_tabfill_to_airline_tabfill#%#airline_tabfill#%#airline_tabfill_to_airline_tablabel#%#airline_tablabel# buffers " + Expect airline#extensions#tabline#get() == "%#airline_tabhid#...| %(%{airline#extensions#tabline#get_buffer_name(3)}%) %#airline_tabhid_to_airline_tab# %#airline_tab#%(%{airline#extensions#tabline#get_buffer_name(4)}%) %#airline_tab_to_airline_tabsel# %#airline_tabsel#%(%{airline#extensions#tabline#get_buffer_name(5)}%) %#airline_tabsel_to_airline_tabfill# %#airline_tabfill#%=%#airline_tabfill_to_airline_tabfill#%#airline_tabfill#%#airline_tabfill_to_airline_tablabel#%#airline_tablabel# buffers " end it 'Trigger on BufDelete autocommands' @@ -16,6 +16,6 @@ describe 'default' sp CONTRIBUTING.md sp README.md 2bd - Expect airline#extensions#tabline#get() == "%#airline_tabhid# %(%{airline#extensions#tabline#get_buffer_name(1)}%) | %(%{airline#extensions#tabline#get_buffer_name(3)}%) %#airline_tabhid_to_airline_tab# %#airline_tab#%(%{airline#extensions#tabline#get_buffer_name(4)}%) | %(%{airline#extensions#tabline#get_buffer_name(5)}%) %#airline_tab_to_airline_tabsel# %#airline_tabsel#%(%{airline#extensions#tabline#get_buffer_name(6)}%) %#airline_tabsel_to_airline_tabfill# %#airline_tabfill#%=%#airline_tabfill_to_airline_tabfill#%#airline_tabfill#%#airline_tabfill_to_airline_tablabel#%#airline_tablabel# buffers " + Expect airline#extensions#tabline#get() == "%#airline_tabhid#...%#airline_tabhid_to_airline_tab# %#airline_tab#%(%{airline#extensions#tabline#get_buffer_name(4)}%) | %(%{airline#extensions#tabline#get_buffer_name(5)}%) %#airline_tab_to_airline_tabsel# %#airline_tabsel#%(%{airline#extensions#tabline#get_buffer_name(6)}%) %#airline_tabsel_to_airline_tabfill# %#airline_tabfill#%=%#airline_tabfill_to_airline_tabfill#%#airline_tabfill#%#airline_tabfill_to_airline_tablabel#%#airline_tablabel# buffers " end end