diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-03 15:48:12 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-03 15:48:12 +0200 |
commit | 5e80de3f3e572805fe734b66bc42c13303ad9bdb (patch) | |
tree | 038a05f77d6493f69928517044d021f37ec19112 /runtime | |
parent | 00ccf54630dc68a9b8aedb92b268f3b697081f68 (diff) | |
download | vim-git-5e80de3f3e572805fe734b66bc42c13303ad9bdb.tar.gz |
patch 8.0.1048: no test for what 8.0.1020 fixesv8.0.1048
Problem: No test for what 8.0.1020 fixes.
Solution: Add test_feedinput(). Add a test. (Ozaki Kiichi, closes #2046)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 445a6808b..f9c6ae3b4 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -2410,6 +2410,7 @@ term_wait({buf} [, {time}]) Number wait for screen to be updated test_alloc_fail({id}, {countdown}, {repeat}) none make memory allocation fail test_autochdir() none enable 'autochdir' during startup +test_feedinput() none add key sequence to input buffer test_garbagecollect_now() none free memory right now for testing test_ignore_error({expr}) none ignore a specific error test_null_channel() Channel null value for testing @@ -8196,6 +8197,11 @@ test_autochdir() *test_autochdir()* Set a flag to enable the effect of 'autochdir' before Vim startup has finished. +test_feedinput({string}) *test_feedinput()* + Characters in {string} are queued for processing as if they + were typed by the user. This uses a low level input buffer. + This function works only when with |+unix| or GUI is running. + test_garbagecollect_now() *test_garbagecollect_now()* Like garbagecollect(), but executed right away. This must only be called directly to avoid any structure to exist |