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
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -483,7 +483,7 @@ test_unknown() *test_unknown()*
483
483
test_void() *test_void()*
484
484
Return a value with void type. Only useful for testing.
485
485
486
- Return type: unknown
486
+ Return type: void
487
487
488
488
==============================================================================
489
489
3. Assert functions *assert-functions-details*
@@ -499,6 +499,7 @@ assert_beeps({cmd}) *assert_beeps()*
499
499
GetCmd()->assert_beeps()
500
500
<
501
501
Return type: | Number |
502
+
502
503
*assert_equal()*
503
504
assert_equal({expected} , {actual} [, {msg} ])
504
505
When {expected} and {actual} are not equal an error message is
@@ -522,7 +523,7 @@ assert_equal({expected}, {actual} [, {msg}])
522
523
<
523
524
Return type: | Number |
524
525
525
- < *assert_equalfile()*
526
+ *assert_equalfile()*
526
527
assert_equalfile({fname-one} , {fname-two} [, {msg} ])
527
528
When the files {fname-one} and {fname-two} do not contain
528
529
exactly the same text an error message is added to | v:errors | .
@@ -550,6 +551,7 @@ assert_exception({error} [, {msg}]) *assert_exception()*
550
551
endtry
551
552
<
552
553
Return type: | Number |
554
+
553
555
*assert_fails()*
554
556
assert_fails({cmd} [, {error} [, {msg} [, {lnum} [, {context} ]]]])
555
557
Run {cmd} and add an error message to | v:errors | if it does
0 commit comments