aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-10-16 00:26:01 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-10-16 00:26:01 +0200
commit6476d081be6fa0295cc0cdce4965c81303c71eff (patch)
tree90ea2498823a9f6117f572eafbb3db7737cf789f
parentee94eecbd4ce9ec3b4371bbe1a2b3cc24cf315d4 (diff)
downloadrneovim-6476d081be6fa0295cc0cdce4965c81303c71eff.tar.gz
rneovim-6476d081be6fa0295cc0cdce4965c81303c71eff.tar.bz2
rneovim-6476d081be6fa0295cc0cdce4965c81303c71eff.zip
test/old: stub CanRunVimInTerminal()
-rw-r--r--src/nvim/testdir/runtest.vim7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/nvim/testdir/runtest.vim b/src/nvim/testdir/runtest.vim
index 44c01cfeff..99b2b940d7 100644
--- a/src/nvim/testdir/runtest.vim
+++ b/src/nvim/testdir/runtest.vim
@@ -67,7 +67,7 @@ lang mess C
let v:testing = 1
" Support function: get the alloc ID by name.
-function GetAllocId(name)
+func GetAllocId(name)
exe 'split ' . s:srcdir . '/alloc.h'
let top = search('typedef enum')
if top == 0
@@ -81,6 +81,11 @@ function GetAllocId(name)
return lnum - top - 1
endfunc
+func CanRunVimInTerminal()
+ " Nvim: always false, we use Lua screen-tests instead.
+ return 0
+endfunc
+
func RunTheTest(test)
echo 'Executing ' . a:test