diff options
| author | Kumar Damani <damani.kumar@gmail.com> | 2019-05-16 22:16:09 +0000 |
|---|---|---|
| committer | Kumar Damani <damani.kumar@gmail.com> | 2019-05-16 22:16:09 +0000 |
| commit | 12564a8f73ebe721d415a04d36f7aac7091bea9d (patch) | |
| tree | bbc8a6bf6aabe832b3ee435eaa605dcac655fc5f /vim/.vim/plugged/lightline.vim/test/uniq.vim | |
| parent | 1241da7ab7a4e91248391ee9b045267bcbbeee4f (diff) | |
updating vimrc
Diffstat (limited to 'vim/.vim/plugged/lightline.vim/test/uniq.vim')
| -rw-r--r-- | vim/.vim/plugged/lightline.vim/test/uniq.vim | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/vim/.vim/plugged/lightline.vim/test/uniq.vim b/vim/.vim/plugged/lightline.vim/test/uniq.vim deleted file mode 100644 index cdfaec0..0000000 --- a/vim/.vim/plugged/lightline.vim/test/uniq.vim +++ /dev/null @@ -1,46 +0,0 @@ -let s:suite = themis#suite('uniq') -let s:assert = themis#helper('assert') - -function! s:uniq(...) - try - return call(SID('uniq'), a:000) - catch - return call(function('uniq'), a:000) - endtry -endfunction - -function! s:suite.nil() - call s:assert.equals(s:uniq([]), []) -endfunction - -function! s:suite.one() - call s:assert.equals(s:uniq(['foo']), ['foo']) -endfunction - -function! s:suite.two() - call s:assert.equals(s:uniq(['foo', 'bar']), ['foo', 'bar']) -endfunction - -function! s:suite.three() - call s:assert.equals(s:uniq(['foo', 'bar', 'baz']), ['foo', 'bar', 'baz']) -endfunction - -function! s:suite.two_duplicated() - call s:assert.equals(s:uniq(['foo', 'foo']), ['foo']) -endfunction - -function! s:suite.three_duplicated() - call s:assert.equals(s:uniq(['foo', 'bar', 'foo']), ['foo', 'bar', 'foo']) -endfunction - -function! s:suite.many1() - call s:assert.equals(s:uniq(['foo', 'foo', 'bar', 'baz', 'baz', 'qux', 'foo']), ['foo', 'bar', 'baz', 'qux', 'foo']) -endfunction - -function! s:suite.many2() - call s:assert.equals(s:uniq(['foo', 'foo', 'foo', 'foo', 'bar', 'bar', 'bar']), ['foo', 'bar']) -endfunction - -function! s:suite.many3() - call s:assert.equals(s:uniq(['foo', 'foo', 'bar', 'bar', 'bar', 'foo', 'foo', 'foo']), ['foo', 'bar', 'foo']) -endfunction |
