view src/testdir/test104.in @ 5676:9ac2fc63501d v7.4.184

updated for version 7.4.184 Problem: match() does not work properly with a {count} argument. Solution: Compute the length once and update it. Quit the loop when at the end. (Hirohito Higashi)
author Bram Moolenaar <bram@vim.org>
date Sat, 22 Feb 2014 22:18:47 +0100
parents 22387c8eec43
children 839cca5ec18d
line wrap: on
line source

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: