Skip to content

Update testing.{txt,jax} #1587

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/testing.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*testing.txt* For Vim バージョン 9.1. Last change: 2024 Jun 06
*testing.txt* For Vim バージョン 9.1. Last change: 2024 Jun 17


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

戻り値の型: unknown
戻り値の型: void

==============================================================================
3. Assert関数 *assert-functions-details*
Expand Down
8 changes: 5 additions & 3 deletions en/testing.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*testing.txt* For Vim version 9.1. Last change: 2024 Jun 06
*testing.txt* For Vim version 9.1. Last change: 2024 Jun 17


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

Return type: unknown
Return type: void

==============================================================================
3. Assert functions *assert-functions-details*
Expand All @@ -499,6 +499,7 @@ assert_beeps({cmd}) *assert_beeps()*
GetCmd()->assert_beeps()
<
Return type: |Number|

*assert_equal()*
assert_equal({expected}, {actual} [, {msg}])
When {expected} and {actual} are not equal an error message is
Expand All @@ -522,7 +523,7 @@ assert_equal({expected}, {actual} [, {msg}])
<
Return type: |Number|

< *assert_equalfile()*
*assert_equalfile()*
assert_equalfile({fname-one}, {fname-two} [, {msg}])
When the files {fname-one} and {fname-two} do not contain
exactly the same text an error message is added to |v:errors|.
Expand Down Expand Up @@ -550,6 +551,7 @@ assert_exception({error} [, {msg}]) *assert_exception()*
endtry
<
Return type: |Number|

*assert_fails()*
assert_fails({cmd} [, {error} [, {msg} [, {lnum} [, {context}]]]])
Run {cmd} and add an error message to |v:errors| if it does
Expand Down