update test for s:uniq

This commit is contained in:
itchyny
2016-04-29 13:41:36 +09:00
parent 92d04a7cc2
commit 4109e4ee6b

View File

@@ -2,7 +2,11 @@ let s:suite = themis#suite('uniq')
let s:assert = themis#helper('assert') let s:assert = themis#helper('assert')
function! s:uniq(...) function! s:uniq(...)
try
return call(SID('uniq'), a:000) return call(SID('uniq'), a:000)
catch
return call(function('uniq'), a:000)
endtry
endfunction endfunction
function! s:suite.nil() function! s:suite.nil()