mirror of
https://github.com/neovim/neovim.git
synced 2025-01-01 17:23:36 -07:00
test/old: stub CanRunVimInTerminal()
This commit is contained in:
parent
ee94eecbd4
commit
6476d081be
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user