1- *testing.txt* For Vim version 9.2. Last change: 2026 Feb 14
1+ *testing.txt* For Vim version 9.2. Last change: 2026 Apr 06
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -46,14 +46,14 @@ test_alloc_fail({id}, {countdown}, {repeat}) *test_alloc_fail()*
4646 Can also be used as a | method | : >
4747 GetAllocId()->test_alloc_fail()
4848<
49- Return type: | Number |
49+ Return type: void
5050
5151
5252test_autochdir() *test_autochdir()*
5353 Set a flag to enable the effect of 'autochdir' before Vim
5454 startup has finished.
5555
56- Return type: | Number |
56+ Return type: void
5757
5858
5959test_feedinput({string} ) *test_feedinput()*
@@ -64,7 +64,7 @@ test_feedinput({string}) *test_feedinput()*
6464 Can also be used as a | method | : >
6565 GetText()->test_feedinput()
6666<
67- Return type: | Number |
67+ Return type: void
6868
6969
7070test_garbagecollect_now() *test_garbagecollect_now()*
@@ -75,13 +75,13 @@ test_garbagecollect_now() *test_garbagecollect_now()*
7575 This will not work when called from a :def function, because
7676 variables on the stack will be freed.
7777
78- Return type: | Number |
78+ Return type: void
7979
8080test_garbagecollect_soon() *test_garbagecollect_soon()*
8181 Set the flag to call the garbagecollector as if in the main
8282 loop. Only to be used in tests.
8383
84- Return type: | Number |
84+ Return type: void
8585
8686test_getvalue({name} ) *test_getvalue()*
8787 Get the value of an internal variable. These values for
@@ -237,7 +237,7 @@ test_ignore_error({expr}) *test_ignore_error()*
237237 Can also be used as a | method | : >
238238 GetErrorText()->test_ignore_error()
239239<
240- Return type: | Number |
240+ Return type: void
241241
242242test_mswin_event({event} , {args} ) *test_mswin_event()*
243243 Generate a low-level MS-Windows {event} with arguments {args}
@@ -381,7 +381,7 @@ test_option_not_set({name}) *test_option_not_set()*
381381 Can also be used as a | method | : >
382382 GetOptionName()->test_option_not_set()
383383<
384- Return type: | Number |
384+ Return type: void
385385
386386test_override({name} , {val} ) *test_override()*
387387 Overrides certain parts of Vim's internal processing to be
@@ -438,7 +438,7 @@ test_override({name}, {val}) *test_override()*
438438< Can also be used as a | method | : >
439439 GetOverrideVal()-> test_override('starting')
440440<
441- Return type: | Number |
441+ Return type: void
442442
443443test_refcount({expr} ) *test_refcount()*
444444 Return the reference count of {expr} . When {expr} is of a
@@ -457,7 +457,7 @@ test_setmouse({row}, {col}) *test_setmouse()*
457457 call test_setmouse(4, 20)
458458 call feedkeys("\<LeftMouse>", "xt")
459459<
460- Return type: | Number |
460+ Return type: void
461461
462462
463463test_settime({expr} ) *test_settime()*
@@ -472,13 +472,13 @@ test_settime({expr}) *test_settime()*
472472 Can also be used as a | method | : >
473473 GetTime()->test_settime()
474474<
475- Return type: | Number |
475+ Return type: void
476476
477477test_srand_seed([{seed} ]) *test_srand_seed()*
478478 When {seed} is given this sets the seed value used by
479479 `srand ()` . When omitted the test seed is removed.
480480
481- Return type: | Number |
481+ Return type: void
482482
483483test_unknown() *test_unknown()*
484484 Return a value with unknown type. Only useful for testing.
0 commit comments