Mercurial > vim
comparison src/testdir/README.txt @ 10549:055b1633aed7 v8.0.0164
patch 8.0.0164: outdated and misplaced comments
commit https://github.com/vim/vim/commit/caa55b65c204946d160c1b743c5f8f3b506dc4d3
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 10 13:51:09 2017 +0100
patch 8.0.0164: outdated and misplaced comments
Problem: Outdated and misplaced comments.
Solution: Fix the comments.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 10 Jan 2017 14:00:04 +0100 |
parents | 26441931dad7 |
children | 013c44d9dc09 |
comparison
equal
deleted
inserted
replaced
10548:74effdaa369e | 10549:055b1633aed7 |
---|---|
12 | 12 |
13 | 13 |
14 TO ADD A NEW STYLE TEST: | 14 TO ADD A NEW STYLE TEST: |
15 | 15 |
16 1) Create a test_<subject>.vim file. | 16 1) Create a test_<subject>.vim file. |
17 2) Add test_<subject>.vim to NEW_TESTS in Make_all.mak in alphabetical order. | 17 2) Add test_<subject>.res to NEW_TESTS in Make_all.mak in alphabetical order. |
18 3) Use make test_<subject>.res to run a single test in src/testdir/. | 18 3) Also add an entry in src/Makefile. |
19 4) Use make test_<subject>.res to run a single test in src/testdir/. | |
19 Use make test_<subject> to run a single test in src/. | 20 Use make test_<subject> to run a single test in src/. |
20 4) Also add an entry in src/Makefile. | |
21 | 21 |
22 What you can use (see test_assert.vim for an example): | 22 What you can use (see test_assert.vim for an example): |
23 - Call assert_equal(), assert_true(), assert_false(), etc. | 23 - Call assert_equal(), assert_true(), assert_false(), etc. |
24 - Use try/catch to check for exceptions. | 24 - Use try/catch to check for exceptions. |
25 - Use alloc_fail() to have memory allocation fail. This makes it possible | 25 - Use alloc_fail() to have memory allocation fail. This makes it possible |