view src/testdir/test104.in @ 5726:9b5541e276aa v7.4.208

updated for version 7.4.208 Problem: Mercurial picks up some files that are not distributed. Solution: Add patterns to the ignore list. (Cade Forester)
author Bram Moolenaar <bram@vim.org>
date Wed, 19 Mar 2014 17:32:51 +0100
parents 22387c8eec43
children 839cca5ec18d
line wrap: on
line source

Tests for autoload.  vim: set ft=vim ts=8 :

STARTTEST
:so small.vim
:set runtimepath+=./sautest
:" Test to not autoload when assigning.  It causes internal error.
:try
:  let Test104#numvar = function('tr')
:  $put ='OK: ' . string(Test104#numvar)
:catch
:  $put ='FAIL: ' . v:exception
:endtry
:/^Results/,$wq! test.out
ENDTEST

Results of test104: