aboutsummaryrefslogtreecommitdiff
path: root/src/testdir/test104.in
blob: f329d2dbed7b24e94668d2073aedfa55c513518e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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: