view src/testdir/test_eval_func.vim @ 10160:32dd27cceadd v7.4.2350

commit https://github.com/vim/vim/commit/cf703fe9d66744ffd7d9c625ee1cbe048ee07740 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 9 14:59:39 2016 +0200 patch 7.4.2350 Problem: Test 86 and 87 fail with some version of Python. Solution: Unify "can't" and "cannot". Unify quotes.
author Christian Brabandt <cb@256bit.org>
date Fri, 09 Sep 2016 15:00:08 +0200
parents 1a5ed2626b26
children 63b02fcf1361
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')