From 9931e0888b2419326ae10ebbfae532261c5c125f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jun 2016 16:11:56 +0200 Subject: Fix submodules --- vim/bundle/lightline.vim | 1 + vim/bundle/lightline.vim/test/tabline.vim | 67 ------------------------------- 2 files changed, 1 insertion(+), 67 deletions(-) create mode 160000 vim/bundle/lightline.vim delete mode 100644 vim/bundle/lightline.vim/test/tabline.vim (limited to 'vim/bundle/lightline.vim/test/tabline.vim') diff --git a/vim/bundle/lightline.vim b/vim/bundle/lightline.vim new file mode 160000 index 0000000..430ce2c --- /dev/null +++ b/vim/bundle/lightline.vim @@ -0,0 +1 @@ +Subproject commit 430ce2cb063b39a0c7950cafd617e333acb6759a diff --git a/vim/bundle/lightline.vim/test/tabline.vim b/vim/bundle/lightline.vim/test/tabline.vim deleted file mode 100644 index 0a9879f..0000000 --- a/vim/bundle/lightline.vim/test/tabline.vim +++ /dev/null @@ -1,67 +0,0 @@ -let s:suite = themis#suite('tabline') -let s:assert = themis#helper('assert') - -function! s:suite.before_each() - let g:lightline = {} - call lightline#init() - tabnew - tabonly -endfunction - -function! s:suite.tabline() - call s:assert.equals(&tabline, '%!lightline#tabline()') -endfunction - -function! s:suite.enabled() - let g:lightline = { 'enable': { 'tabline': 1 } } - call lightline#init() - call s:assert.equals(&tabline, '%!lightline#tabline()') -endfunction - -function! s:suite.disabled() - let g:lightline = { 'enable': { 'tabline': 0 } } - call lightline#init() - call s:assert.equals(&tabline, '') -endfunction - -function! s:suite.tabnew() - let tabline = lightline#tabline() - tabnew - call s:assert.not_equals(lightline#tabline(), tabline) -endfunction - -function! s:suite.tabnew_first() - let tabline = lightline#tabline() - 0tabnew - call s:assert.not_equals(lightline#tabline(), tabline) -endfunction - -function! s:suite.tabnext() - tabnew - let tabline = lightline#tabline() - tabnext - call s:assert.not_equals(lightline#tabline(), tabline) -endfunction - -function! s:suite.tabonly() - tabnew - tabfirst - let tabline = lightline#tabline() - tabonly - call s:assert.not_equals(lightline#tabline(), tabline) -endfunction - -function! s:suite.tabclose() - tabnew - let tabline = lightline#tabline() - tabclose - call s:assert.not_equals(lightline#tabline(), tabline) -endfunction - -function! s:suite.tabclose_last() - tabnew - tabfirst - let tabline = lightline#tabline() - $tabclose - call s:assert.not_equals(lightline#tabline(), tabline) -endfunction -- cgit v1.2.3