Skip to content

Commit 26150d5

Browse files
authored
Merge pull request #2562 from h-east/update-testing
Update testing.{txt,jax}
2 parents e2b85d0 + 8628cef commit 26150d5

2 files changed

Lines changed: 24 additions & 24 deletions

File tree

doc/testing.jax

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*testing.txt* For Vim バージョン 9.2. Last change: 2026 Feb 14
1+
*testing.txt* For Vim バージョン 9.2. Last change: 2026 Apr 06
22

33

44
VIM リファレンスマニュアル by Bram Moolenaar
@@ -46,14 +46,14 @@ test_alloc_fail({id}, {countdown}, {repeat}) *test_alloc_fail()*
4646
|method| としても使用できる: >
4747
GetAllocId()->test_alloc_fail()
4848
<
49-
戻り値の型: |Number|
49+
戻り値の型: void
5050

5151

5252
test_autochdir() *test_autochdir()*
5353
Vimの起動が完了する前に 'autochdir' の効果を有効にするためのフ
5454
ラグをセットする。
5555

56-
戻り値の型: |Number|
56+
戻り値の型: void
5757

5858

5959
test_feedinput({string}) *test_feedinput()*
@@ -64,7 +64,7 @@ test_feedinput({string}) *test_feedinput()*
6464
|method| としても使用できる: >
6565
GetText()->test_feedinput()
6666
<
67-
戻り値の型: |Number|
67+
戻り値の型: void
6868

6969

7070
test_garbagecollect_now() *test_garbagecollect_now()*
@@ -75,13 +75,13 @@ test_garbagecollect_now() *test_garbagecollect_now()*
7575
これは、スタック上の変数が解放されるため、:def 関数から呼び出
7676
された場合には動作しない。
7777

78-
戻り値の型: |Number|
78+
戻り値の型: void
7979

8080
test_garbagecollect_soon() *test_garbagecollect_soon()*
8181
あたかもメインループの中にいるように、ガベージコレクトを呼び出
8282
すためのフラグを設定する。テストでのみ使用される。
8383

84-
戻り値の型: |Number|
84+
戻り値の型: void
8585

8686
test_getvalue({name}) *test_getvalue()*
8787
内部変数の値を取得する。{name} のこれらの値がサポートされてい
@@ -234,7 +234,7 @@ test_ignore_error({expr}) *test_ignore_error()*
234234
|method| としても使用できる: >
235235
GetErrorText()->test_ignore_error()
236236
<
237-
戻り値の型: |Number|
237+
戻り値の型: void
238238

239239
test_mswin_event({event}, {args}) *test_mswin_event()*
240240
Vim の機能をテストするために、引数 {args} で低レベルの
@@ -385,7 +385,7 @@ test_option_not_set({name}) *test_option_not_set()*
385385
|method| としても使用できる: >
386386
GetOptionName()->test_option_not_set()
387387
<
388-
戻り値の型: |Number|
388+
戻り値の型: void
389389

390390
test_override({name}, {val}) *test_override()*
391391
テストを実行できるようにするため、Vimの内部処理の特定の部分を
@@ -442,7 +442,7 @@ test_override({name}, {val}) *test_override()*
442442
< |method| としても使用できる: >
443443
GetOverrideVal()-> test_override('starting')
444444
<
445-
戻り値の型: |Number|
445+
戻り値の型: void
446446

447447
test_refcount({expr}) *test_refcount()*
448448
{expr} の参照カウントを返す。{expr} が参照カウントを持たない型
@@ -460,7 +460,7 @@ test_setmouse({row}, {col}) *test_setmouse()*
460460
call test_setmouse(4, 20)
461461
call feedkeys("\<LeftMouse>", "xt")
462462
<
463-
戻り値の型: |Number|
463+
戻り値の型: void
464464

465465

466466
test_settime({expr}) *test_settime()*
@@ -474,13 +474,13 @@ test_settime({expr}) *test_settime()*
474474
|method| としても使用できる: >
475475
GetTime()->test_settime()
476476
<
477-
戻り値の型: |Number|
477+
戻り値の型: void
478478

479479
test_srand_seed([{seed}]) *test_srand_seed()*
480480
{seed} が渡されたときは `srand()` で使われる種の値を設定する。
481481
省略されたときはテスト用の種を削除する。
482482

483-
戻り値の型: |Number|
483+
戻り値の型: void
484484

485485
test_unknown() *test_unknown()*
486486
unknown型の値を返す。これはテストのみに使われる。

en/testing.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

5252
test_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

5959
test_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

7070
test_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

8080
test_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

8686
test_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

242242
test_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

386386
test_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

443443
test_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

463463
test_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

477477
test_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

483483
test_unknown() *test_unknown()*
484484
Return a value with unknown type. Only useful for testing.

0 commit comments

Comments
 (0)