view src/testdir/test_eval_func.vim @ 10223:94d6999443fb v8.0.0011

commit https://github.com/vim/vim/commit/947000d6e481042d3869bd65b149d72511c31ab2 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 25 21:03:02 2016 +0200 patch 8.0.0011 Problem: On OSX Test_pipe_through_sort_all() sometimes fails. Solution: Add the test to the list of flaky tests.
author Christian Brabandt <cb@256bit.org>
date Sun, 25 Sep 2016 21:15:17 +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')