blob: f329d2dbed7b24e94668d2073aedfa55c513518e [file] [log] [blame]
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: