aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/lightline.vim/test/toggle.vim
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-06-30 16:11:56 +0200
committerKarel Kočí <cynerd@email.cz>2016-06-30 16:11:56 +0200
commit9931e0888b2419326ae10ebbfae532261c5c125f (patch)
tree7504be5daccbb7b7d1ea396754de47b11ed790e5 /vim/bundle/lightline.vim/test/toggle.vim
parente573b3020c032400eed60b649a2cbf55266e6bb0 (diff)
downloadmyconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.tar.gz
myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.tar.bz2
myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.zip
Fix submodules
Diffstat (limited to 'vim/bundle/lightline.vim/test/toggle.vim')
m---------vim/bundle/lightline.vim0
-rw-r--r--vim/bundle/lightline.vim/test/toggle.vim37
2 files changed, 0 insertions, 37 deletions
diff --git a/vim/bundle/lightline.vim b/vim/bundle/lightline.vim
new file mode 160000
+Subproject 430ce2cb063b39a0c7950cafd617e333acb6759
diff --git a/vim/bundle/lightline.vim/test/toggle.vim b/vim/bundle/lightline.vim/test/toggle.vim
deleted file mode 100644
index c6042a8..0000000
--- a/vim/bundle/lightline.vim/test/toggle.vim
+++ /dev/null
@@ -1,37 +0,0 @@
-let s:suite = themis#suite('toggle')
-let s:assert = themis#helper('assert')
-
-function! s:suite.before_each()
- let g:lightline = {}
- call lightline#init()
- tabnew
- tabonly
-endfunction
-
-function! s:suite.default()
- call s:assert.equals(exists('#lightline'), 1)
- call s:assert.equals(exists('#lightline-disable'), 0)
- call s:assert.not_equals(&tabline, '')
-endfunction
-
-function! s:suite.disable_enable()
- call lightline#disable()
- call s:assert.equals(exists('#lightline'), 0)
- call s:assert.equals(exists('#lightline-disable'), 1)
- call s:assert.equals(&tabline, '')
- call lightline#enable()
- call s:assert.equals(exists('#lightline'), 1)
- call s:assert.equals(exists('#lightline-disable'), 0)
- call s:assert.not_equals(&tabline, '')
-endfunction
-
-function! s:suite.toggle()
- call lightline#toggle()
- call s:assert.equals(exists('#lightline'), 0)
- call s:assert.equals(exists('#lightline-disable'), 1)
- call s:assert.equals(&tabline, '')
- call lightline#toggle()
- call s:assert.equals(exists('#lightline'), 1)
- call s:assert.equals(exists('#lightline-disable'), 0)
- call s:assert.not_equals(&tabline, '')
-endfunction