mirror of
https://github.com/inkarkat/vim-ingo-library.git
synced 2026-05-29 11:18:51 +02:00
8 lines
309 B
VimL
8 lines
309 B
VimL
function! IsCompatible( originalFunctionName, description, ... )
|
|
let l:compatFunctionName = 'ingo#compat#' . a:originalFunctionName
|
|
|
|
let l:expected = call(a:originalFunctionName, a:000)
|
|
let l:got = call(l:compatFunctionName, a:000)
|
|
call vimtap#Is(l:got, l:expected, a:description)
|
|
endfunction
|