Bram Moolenaar | 4f943c0 | 2014-02-05 22:26:05 +0100 | [diff] [blame] | 1 | Tests for autoload. vim: set ft=vim ts=8 : |
2 | |||||
3 | STARTTEST | ||||
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 | ||||
14 | ENDTEST | ||||
15 | |||||
16 | Results of test104: |