comparison runtime/doc/eval.txt @ 12337:040a892d0eed v8.0.1048

patch 8.0.1048: no test for what 8.0.1020 fixes commit https://github.com/vim/vim/commit/5e80de3f3e572805fe734b66bc42c13303ad9bdb Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 3 15:48:12 2017 +0200 patch 8.0.1048: no test for what 8.0.1020 fixes Problem: No test for what 8.0.1020 fixes. Solution: Add test_feedinput(). Add a test. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/2046)
author Christian Brabandt <cb@256bit.org>
date Sun, 03 Sep 2017 16:00:05 +0200
parents 2779d593a706
children d0cf7f71b95b
comparison
equal deleted inserted replaced
12336:3914c0edd581 12337:040a892d0eed
2408 term_start({cmd}, {options}) Job open a terminal window and run a job 2408 term_start({cmd}, {options}) Job open a terminal window and run a job
2409 term_wait({buf} [, {time}]) Number wait for screen to be updated 2409 term_wait({buf} [, {time}]) Number wait for screen to be updated
2410 test_alloc_fail({id}, {countdown}, {repeat}) 2410 test_alloc_fail({id}, {countdown}, {repeat})
2411 none make memory allocation fail 2411 none make memory allocation fail
2412 test_autochdir() none enable 'autochdir' during startup 2412 test_autochdir() none enable 'autochdir' during startup
2413 test_feedinput() none add key sequence to input buffer
2413 test_garbagecollect_now() none free memory right now for testing 2414 test_garbagecollect_now() none free memory right now for testing
2414 test_ignore_error({expr}) none ignore a specific error 2415 test_ignore_error({expr}) none ignore a specific error
2415 test_null_channel() Channel null value for testing 2416 test_null_channel() Channel null value for testing
2416 test_null_dict() Dict null value for testing 2417 test_null_dict() Dict null value for testing
2417 test_null_job() Job null value for testing 2418 test_null_job() Job null value for testing
8193 smaller than one it fails one time. 8194 smaller than one it fails one time.
8194 8195
8195 test_autochdir() *test_autochdir()* 8196 test_autochdir() *test_autochdir()*
8196 Set a flag to enable the effect of 'autochdir' before Vim 8197 Set a flag to enable the effect of 'autochdir' before Vim
8197 startup has finished. 8198 startup has finished.
8199
8200 test_feedinput({string}) *test_feedinput()*
8201 Characters in {string} are queued for processing as if they
8202 were typed by the user. This uses a low level input buffer.
8203 This function works only when with |+unix| or GUI is running.
8198 8204
8199 test_garbagecollect_now() *test_garbagecollect_now()* 8205 test_garbagecollect_now() *test_garbagecollect_now()*
8200 Like garbagecollect(), but executed right away. This must 8206 Like garbagecollect(), but executed right away. This must
8201 only be called directly to avoid any structure to exist 8207 only be called directly to avoid any structure to exist
8202 internally, and |v:testing| must have been set before calling 8208 internally, and |v:testing| must have been set before calling