test/old: stub CanRunVimInTerminal()

This commit is contained in:
Justin M. Keyes 2018-10-16 00:26:01 +02:00
parent ee94eecbd4
commit 6476d081be

View File

@ -67,7 +67,7 @@ lang mess C
let v:testing = 1 let v:testing = 1
" Support function: get the alloc ID by name. " Support function: get the alloc ID by name.
function GetAllocId(name) func GetAllocId(name)
exe 'split ' . s:srcdir . '/alloc.h' exe 'split ' . s:srcdir . '/alloc.h'
let top = search('typedef enum') let top = search('typedef enum')
if top == 0 if top == 0
@ -81,6 +81,11 @@ function GetAllocId(name)
return lnum - top - 1 return lnum - top - 1
endfunc endfunc
func CanRunVimInTerminal()
" Nvim: always false, we use Lua screen-tests instead.
return 0
endfunc
func RunTheTest(test) func RunTheTest(test)
echo 'Executing ' . a:test echo 'Executing ' . a:test