runtime(doc): Fix typos in several documents
closes: #15034
Signed-off-by: h-east <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/runtime/doc/testing.txt b/runtime/doc/testing.txt
index f1a7e60..ebf562b 100644
--- a/runtime/doc/testing.txt
+++ b/runtime/doc/testing.txt
@@ -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
@@ -483,7 +483,7 @@
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*
@@ -499,6 +499,7 @@
GetCmd()->assert_beeps()
<
Return type: |Number|
+
*assert_equal()*
assert_equal({expected}, {actual} [, {msg}])
When {expected} and {actual} are not equal an error message is
@@ -522,7 +523,7 @@
<
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|.
@@ -550,6 +551,7 @@
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