Mercurial > vim
comparison src/testdir/runtest.vim @ 9121:7350959e53c3 v7.4.1844
commit https://github.com/vim/vim/commit/8e8df251bf2505e5decf258397c6069fbe5e2e01
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 25 21:23:21 2016 +0200
patch 7.4.1844
Problem: Using old function name in comment. More functions should start
with test_.
Solution: Rename function in comment. (Higashi Higashi) Rename
disable_char_avail_for_testing() to test_disable_char_avail().
And alloc_fail() to test_alloc_fail().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 25 May 2016 21:30:08 +0200 |
parents | ed0b39dd7fd6 |
children | 6d5c24b8dc0e |
comparison
equal
deleted
inserted
replaced
9120:2d179e86d3c0 | 9121:7350959e53c3 |
---|---|
58 " Make sure $HOME does not get read or written. | 58 " Make sure $HOME does not get read or written. |
59 let $HOME = '/does/not/exist' | 59 let $HOME = '/does/not/exist' |
60 | 60 |
61 let s:srcdir = expand('%:p:h:h') | 61 let s:srcdir = expand('%:p:h:h') |
62 | 62 |
63 " Prepare for calling garbagecollect_for_testing(). | 63 " Prepare for calling test_garbagecollect_now(). |
64 let v:testing = 1 | 64 let v:testing = 1 |
65 | 65 |
66 " Support function: get the alloc ID by name. | 66 " Support function: get the alloc ID by name. |
67 function GetAllocId(name) | 67 function GetAllocId(name) |
68 exe 'split ' . s:srcdir . '/alloc.h' | 68 exe 'split ' . s:srcdir . '/alloc.h' |