Mercurial > vim
comparison src/testdir/test104.in @ 5641:22387c8eec43 v7.4.167
updated for version 7.4.167
Problem: Fixes are not tested.
Solution: Add a test for not autoloading on assignment. (Yukihiro Nakadaira)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 05 Feb 2014 22:26:05 +0100 |
parents | |
children | 839cca5ec18d |
comparison
equal
deleted
inserted
replaced
5640:aa7dc5f3e221 | 5641:22387c8eec43 |
---|---|
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: |