Skip to content

Commit 2fa8bc8

Browse files
authored
Merge pull request #1587 from vim-jp/hh-update-testing
Update testing.{txt,jax}
2 parents 7341177 + 2269a3d commit 2fa8bc8

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

doc/testing.jax

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*testing.txt* For Vim バージョン 9.1. Last change: 2024 Jun 06
1+
*testing.txt* For Vim バージョン 9.1. Last change: 2024 Jun 17
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -485,7 +485,7 @@ test_unknown() *test_unknown()*
485485
test_void() *test_void()*
486486
void型の値を返す。これはテストのみに使われる。
487487

488-
戻り値の型: unknown
488+
戻り値の型: void
489489

490490
==============================================================================
491491
3. Assert関数 *assert-functions-details*

en/testing.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*testing.txt* For Vim version 9.1. Last change: 2024 Jun 06
1+
*testing.txt* For Vim version 9.1. Last change: 2024 Jun 17
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -483,7 +483,7 @@ test_unknown() *test_unknown()*
483483
test_void() *test_void()*
484484
Return a value with void type. Only useful for testing.
485485

486-
Return type: unknown
486+
Return type: void
487487

488488
==============================================================================
489489
3. Assert functions *assert-functions-details*
@@ -499,6 +499,7 @@ assert_beeps({cmd}) *assert_beeps()*
499499
GetCmd()->assert_beeps()
500500
<
501501
Return type: |Number|
502+
502503
*assert_equal()*
503504
assert_equal({expected}, {actual} [, {msg}])
504505
When {expected} and {actual} are not equal an error message is
@@ -522,7 +523,7 @@ assert_equal({expected}, {actual} [, {msg}])
522523
<
523524
Return type: |Number|
524525

525-
< *assert_equalfile()*
526+
*assert_equalfile()*
526527
assert_equalfile({fname-one}, {fname-two} [, {msg}])
527528
When the files {fname-one} and {fname-two} do not contain
528529
exactly the same text an error message is added to |v:errors|.
@@ -550,6 +551,7 @@ assert_exception({error} [, {msg}]) *assert_exception()*
550551
endtry
551552
<
552553
Return type: |Number|
554+
553555
*assert_fails()*
554556
assert_fails({cmd} [, {error} [, {msg} [, {lnum} [, {context}]]]])
555557
Run {cmd} and add an error message to |v:errors| if it does

0 commit comments

Comments
 (0)