diff src/testdir/README.txt @ 9228:ea504064c996 v7.4.1897

commit https://github.com/vim/vim/commit/fd89d7ea81b18d32363456b16258174dc9e095dc Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 4 20:25:05 2016 +0200 patch 7.4.1897 Problem: Various typos, long lines and style mistakes. Solution: Fix the typos, wrap lines, improve style.
author Christian Brabandt <cb@256bit.org>
date Sat, 04 Jun 2016 20:30:06 +0200
parents 26f555e9aab1
children 3ee84d270ea7
line wrap: on
line diff
--- a/src/testdir/README.txt
+++ b/src/testdir/README.txt
@@ -5,7 +5,7 @@ want to separate it from other tests wit
 
 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 @@ 4) Also add an entry in src/Makefile.
 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: