Mercurial > vim
comparison src/testdir/README.txt @ 9909:3ee84d270ea7 v7.4.2228
commit https://github.com/vim/vim/commit/9e4d8215d386100ab660d7d11e6620fd148b605e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 18 23:04:48 2016 +0200
patch 7.4.2228
Problem: Test files have inconsistant modelines.
Solution: Don't set 'tabstop' to 2, use 'sts' and 'sw'.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 18 Aug 2016 23:15:05 +0200 |
parents | ea504064c996 |
children | 26441931dad7 |
comparison
equal
deleted
inserted
replaced
9908:2b6654519a7c | 9909:3ee84d270ea7 |
---|---|
1 This directory contains tests for various Vim features. | 1 This directory contains tests for various Vim features. |
2 | 2 |
3 If it makes sense, add a new test method to an already existing file. You may | 3 If it makes sense, add a new test method to an already existing file. You may |
4 want to separate it from other tests with comment lines. | 4 want to separate it from other tests with comment lines. |
5 | 5 |
6 The numbered tests are older, we have switched to named tests. | 6 The numbered tests are older, we have switched to named tests. Don't add any |
7 more numbered tests. | |
7 | 8 |
8 And then you can choose between a new style test, which is a Vim script, or an | 9 And then you can choose between a new style test, which is a Vim script, or an |
9 old style test, which uses Normal mode commands. Use a new style test if you | 10 old style test, which uses Normal mode commands. Use a new style test if you |
10 can. | 11 can. Use an old style test when it needs to run without the +eval feature. |
11 | 12 |
12 | 13 |
13 TO ADD A NEW STYLE TEST: | 14 TO ADD A NEW STYLE TEST: |
14 | 15 |
15 1) Create a test_<subject>.vim file. | 16 1) Create a test_<subject>.vim file. |