patch 7.4.1897
Problem: Various typos, long lines and style mistakes.
Solution: Fix the typos, wrap lines, improve style.
diff --git a/src/testdir/README.txt b/src/testdir/README.txt
index 052ccf5..534f05f 100644
--- a/src/testdir/README.txt
+++ b/src/testdir/README.txt
@@ -5,7 +5,7 @@
The numbered tests are older, we have switched to named tests.
-And then you can chose between a new style test, which is a Vim script, or an
+And then you can choose between a new style test, which is a Vim script, or an
old style test, which uses Normal mode commands. Use a new style test if you
can.
@@ -21,13 +21,14 @@
What you can use (see test_assert.vim for an example):
- Call assert_equal(), assert_true() and assert_false().
- Use try/catch to check for exceptions.
-- Use alloc_fail() to have memory allocation fail. This makes it possible to
+- Use alloc_fail() to have memory allocation fail. This makes it possible
to check memory allocation failures are handled gracefully. You need to
change the source code to add an ID to the allocation. Update LAST_ID_USED
above alloc_id() to the highest ID used.
- Use disable_char_avail_for_testing(1) if char_avail() must return FALSE for
a while. E.g. to trigger the CursorMovedI autocommand event.
See test_cursor_func.vim for an example
+- See the start of runtest.vim for more help.
TO ADD AN OLD STYLE TEST: