Skip to content

Commit ccafd39

Browse files
authored
Merge pull request #2010 from h-east/update-testing
Update testing.{txt,jax}
2 parents b9589f6 + 3a53de2 commit ccafd39

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

doc/testing.jax

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*testing.txt* For Vim バージョン 9.1. Last change: 2024 Jul 18
1+
*testing.txt* For Vim バージョン 9.1. Last change: 2025 Mar 25
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -68,10 +68,10 @@ test_feedinput({string}) *test_feedinput()*
6868

6969

7070
test_garbagecollect_now() *test_garbagecollect_now()*
71-
garbagecollect() とほぼ同じであるが、この関数はガベージコレク
72-
トを直ちに実行する。この関数を実行する場合は、構造体が内部に存
73-
在しないようにするために直接呼び出す必要がある。また、この関数
74-
を呼び出す前に |v:testing| を設定する必要がある。 *E1142*
71+
|garbagecollect()| とほぼ同じであるが、この関数はガベージコレ
72+
クトを直ちに実行する。この関数を実行する場合は、構造体が内部に
73+
存在しないようにするために直接呼び出す必要がある。また、この関
74+
数を呼び出す前に |v:testing| を設定する必要がある。 *E1142*
7575
これは、スタック上の変数が解放されるため、:def 関数から呼び出
7676
された場合には動作しない。
7777

@@ -367,6 +367,11 @@ test_null_string() *test_null_string()*
367367

368368
戻り値の型: |String|
369369

370+
test_null_tuple() *test_null_tuple()*
371+
null の |Tuple| を返す。これはテストのみに使われる。
372+
373+
戻り値の型: |Tuple|
374+
370375
test_option_not_set({name}) *test_option_not_set()*
371376
オプション {name} が設定されたことを示すフラグをリセットする。
372377
したがって、それはまだデフォルト値を持っているように見える。次

en/testing.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*testing.txt* For Vim version 9.1. Last change: 2024 Jul 18
1+
*testing.txt* For Vim version 9.1. Last change: 2025 Mar 25
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -68,7 +68,7 @@ test_feedinput({string}) *test_feedinput()*
6868

6969

7070
test_garbagecollect_now() *test_garbagecollect_now()*
71-
Like garbagecollect(), but executed right away. This must
71+
Like |garbagecollect()|, but executed right away. This must
7272
only be called directly to avoid any structure to exist
7373
internally, and |v:testing| must have been set before calling
7474
any function. *E1142*
@@ -364,6 +364,11 @@ test_null_string() *test_null_string()*
364364

365365
Return type: |String|
366366

367+
test_null_tuple() *test_null_tuple()*
368+
Return a |Tuple| that is null. Only useful for testing.
369+
370+
Return type: |Tuple|
371+
367372
test_option_not_set({name}) *test_option_not_set()*
368373
Reset the flag that indicates option {name} was set. Thus it
369374
looks like it still has the default value. Use like this: >

0 commit comments

Comments
 (0)