]> git.ipfire.org Git - thirdparty/git.git/blob - t/t4018/README
Merge branch 'di/readme-markup-fix'
[thirdparty/git.git] / t / t4018 / README
1 How to write RIGHT test cases
2 =============================
3
4 Insert the word "ChangeMe" (exactly this form) at a distance of
5 at least two lines from the line that must appear in the hunk header.
6
7 The text that must appear in the hunk header must contain the word
8 "right", but in all upper-case, like in the title above.
9
10 To mark a test case that highlights a malfunction, insert the word
11 BROKEN in all lower-case somewhere in the file.
12
13 This text is a bit twisted and out of order, but it is itself a
14 test case for the default hunk header pattern. Know what you are doing
15 if you change it.
16
17 BTW, this tests that the head line goes to the hunk header, not the line
18 of equal signs.