view src/testdir/test_eval_func.vim @ 16953:95975a82df42 v8.1.1477

patch 8.1.1477: test summary fails in the tiny version commit https://github.com/vim/vim/commit/c7500f9cb5b9fbedb9f1a385fdc3790335054bd3 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 6 14:08:50 2019 +0200 patch 8.1.1477: test summary fails in the tiny version Problem: Test summary fails in the tiny version. Solution: set 'nocompatible'.
author Bram Moolenaar <Bram@vim.org>
date Thu, 06 Jun 2019 14:15:05 +0200
parents 63b02fcf1361
children
line wrap: on
line source

" Vim script used in test_eval.in.  Needed for script-local function.

func s:Testje()
  return "foo"
endfunc
let Bar = function('s:Testje')
$put ='s:Testje exists: ' . exists('s:Testje')
$put ='func s:Testje exists: ' . exists('*s:Testje')
$put ='Bar exists: ' . exists('Bar')
$put ='func Bar exists: ' . exists('*Bar')