view src/testdir/test104.in @ 5698:767103b5bcb0 v7.4.194

updated for version 7.4.194 Problem: Can't build for Android. Solution: Add #if condition. (Fredrik Fornwall)
author Bram Moolenaar <bram@vim.org>
date Wed, 12 Mar 2014 14:54:34 +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: