diff options
Diffstat (limited to 'vim/bundle/tlib_vim/spec/tlib/var.vim')
m--------- | vim/bundle/tlib_vim | 0 | ||||
-rwxr-xr-x | vim/bundle/tlib_vim/spec/tlib/var.vim | 37 |
2 files changed, 0 insertions, 37 deletions
diff --git a/vim/bundle/tlib_vim b/vim/bundle/tlib_vim new file mode 160000 +Subproject 5636472e5dba1a4104376ce6bd93cc2546e0248 diff --git a/vim/bundle/tlib_vim/spec/tlib/var.vim b/vim/bundle/tlib_vim/spec/tlib/var.vim deleted file mode 100755 index 28e3fac..0000000 --- a/vim/bundle/tlib_vim/spec/tlib/var.vim +++ /dev/null @@ -1,37 +0,0 @@ -" @Author: Tom Link (mailto:micathom AT gmail com?subject=[vim]) -" @Website: http://www.vim.org/account/profile.php?user_id=4037 -" @License: GPL (see http://www.gnu.org/licenses/gpl.txt) -" @Created: 2010-04-03. -" @Last Change: 2010-04-03. -" @Revision: 2 - -let s:save_cpo = &cpo -set cpo&vim - - - -SpecBegin 'title': 'tlib#var' - - -let g:foo = 1 -let g:bar = 2 -let b:bar = 3 -let s:bar = 4 - -Should be equal tlib#var#Get('bar', 'bg'), 3 -Should be equal tlib#var#Get('bar', 'g'), 2 -Should be equal tlib#var#Get('foo', 'bg'), 1 -Should be equal tlib#var#Get('foo', 'g'), 1 -Should be equal tlib#var#Get('none', 'l'), '' - -Should be equal eval(tlib#var#EGet('bar', 'bg')), 3 -Should be equal eval(tlib#var#EGet('bar', 'g')), 2 -" Should be equal eval(tlib#var#EGet('bar', 'sg')), 4 -Should be equal eval(tlib#var#EGet('foo', 'bg')), 1 -Should be equal eval(tlib#var#EGet('foo', 'g')), 1 -Should be equal eval(tlib#var#EGet('none', 'l')), '' - - - -let &cpo = s:save_cpo -unlet s:save_cpo |