blob: f329d2dbed7b24e94668d2073aedfa55c513518e [file] [log] [blame]
Bram Moolenaar4f943c02014-02-05 22:26:05 +01001Tests for autoload. vim: set ft=vim ts=8 :
2
3STARTTEST
4:so small.vim
5:set runtimepath+=./sautest
6:" Test to not autoload when assigning. It causes internal error.
7:try
8: let Test104#numvar = function('tr')
9: $put ='OK: ' . string(Test104#numvar)
10:catch
11: $put ='FAIL: ' . v:exception
12:endtry
13:/^Results/,$wq! test.out
14ENDTEST
15
16Results of test104: