comparison runtime/doc/eval.txt @ 16664:ca1814eeecf5 v8.1.1334

patch 8.1.1334: when buffer is hidden "F" in 'shortmess' is not used commit https://github.com/vim/vim/commit/eda652215abf696f86b872888945a2d2dd8c7192 Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 16 20:29:44 2019 +0200 patch 8.1.1334: when buffer is hidden "F" in 'shortmess' is not used Problem: When buffer is hidden "F" in 'shortmess' is not used. Solution: Check the "F" flag in 'shortmess' when the buffer is already loaded. (Jason Franklin) Add test_getvalue() to be able to test this.
author Bram Moolenaar <Bram@vim.org>
date Thu, 16 May 2019 20:30:07 +0200
parents 04c2614af21c
children a927fdf9a4b0
comparison
equal deleted inserted replaced
16663:66ffbbee468c 16664:ca1814eeecf5
2699 test_alloc_fail({id}, {countdown}, {repeat}) 2699 test_alloc_fail({id}, {countdown}, {repeat})
2700 none make memory allocation fail 2700 none make memory allocation fail
2701 test_autochdir() none enable 'autochdir' during startup 2701 test_autochdir() none enable 'autochdir' during startup
2702 test_feedinput({string}) none add key sequence to input buffer 2702 test_feedinput({string}) none add key sequence to input buffer
2703 test_garbagecollect_now() none free memory right now for testing 2703 test_garbagecollect_now() none free memory right now for testing
2704 test_getvalue({string}) any get value of an internal variable
2704 test_ignore_error({expr}) none ignore a specific error 2705 test_ignore_error({expr}) none ignore a specific error
2705 test_null_blob() Blob null value for testing 2706 test_null_blob() Blob null value for testing
2706 test_null_channel() Channel null value for testing 2707 test_null_channel() Channel null value for testing
2707 test_null_dict() Dict null value for testing 2708 test_null_dict() Dict null value for testing
2708 test_null_job() Job null value for testing 2709 test_null_job() Job null value for testing
9891 test_garbagecollect_now() *test_garbagecollect_now()* 9892 test_garbagecollect_now() *test_garbagecollect_now()*
9892 Like garbagecollect(), but executed right away. This must 9893 Like garbagecollect(), but executed right away. This must
9893 only be called directly to avoid any structure to exist 9894 only be called directly to avoid any structure to exist
9894 internally, and |v:testing| must have been set before calling 9895 internally, and |v:testing| must have been set before calling
9895 any function. 9896 any function.
9897
9898 test_getvalue({name}) *test_getvalue()*
9899 Get the value of an internal variable. These values for
9900 {name} are supported:
9901 need_fileinfo
9896 9902
9897 test_ignore_error({expr}) *test_ignore_error()* 9903 test_ignore_error({expr}) *test_ignore_error()*
9898 Ignore any error containing {expr}. A normal message is given 9904 Ignore any error containing {expr}. A normal message is given
9899 instead. 9905 instead.
9900 This is only meant to be used in tests, where catching the 9906 This is only meant to be used in tests, where catching the