You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Johannes Sixt 8a2e8da367 userdiff: have 'cpp' hunk header pattern catch more C++ anchor points 11 years ago
..
README
cpp-c++-function t4018: test cases for the built-in cpp pattern 11 years ago
cpp-class-constructor userdiff: have 'cpp' hunk header pattern catch more C++ anchor points 11 years ago
cpp-class-constructor-mem-init userdiff: have 'cpp' hunk header pattern catch more C++ anchor points 11 years ago
cpp-class-definition t4018: test cases for the built-in cpp pattern 11 years ago
cpp-class-definition-derived t4018: test cases for the built-in cpp pattern 11 years ago
cpp-class-destructor userdiff: have 'cpp' hunk header pattern catch more C++ anchor points 11 years ago
cpp-function-returning-global-type userdiff: have 'cpp' hunk header pattern catch more C++ anchor points 11 years ago
cpp-function-returning-nested userdiff: have 'cpp' hunk header pattern catch more C++ anchor points 11 years ago
cpp-function-returning-pointer t4018: test cases for the built-in cpp pattern 11 years ago
cpp-function-returning-reference userdiff: have 'cpp' hunk header pattern catch more C++ anchor points 11 years ago
cpp-gnu-style-function userdiff: have 'cpp' hunk header pattern catch more C++ anchor points 11 years ago
cpp-namespace-definition userdiff: have 'cpp' hunk header pattern catch more C++ anchor points 11 years ago
cpp-operator-definition userdiff: have 'cpp' hunk header pattern catch more C++ anchor points 11 years ago
cpp-skip-access-specifiers t4018: test cases for the built-in cpp pattern 11 years ago
cpp-skip-comment-block t4018: test cases for the built-in cpp pattern 11 years ago
cpp-skip-labels t4018: test cases for the built-in cpp pattern 11 years ago
cpp-struct-definition t4018: test cases for the built-in cpp pattern 11 years ago
cpp-struct-single-line userdiff: have 'cpp' hunk header pattern catch more C++ anchor points 11 years ago
cpp-template-function-definition userdiff: have 'cpp' hunk header pattern catch more C++ anchor points 11 years ago
cpp-union-definition userdiff: have 'cpp' hunk header pattern catch more C++ anchor points 11 years ago
cpp-void-c-function t4018: test cases for the built-in cpp pattern 11 years ago
custom1-pattern t4018: convert custom pattern test to the new infrastructure 11 years ago
custom2-match-to-end-of-line t4018: convert custom pattern test to the new infrastructure 11 years ago
custom3-alternation-in-pattern t4018: convert custom pattern test to the new infrastructure 11 years ago
java-class-member-function t4018: convert java pattern test to the new infrastructure 11 years ago
perl-skip-end-of-heredoc
perl-skip-forward-decl
perl-skip-sub-in-pod
perl-sub-definition
perl-sub-definition-kr-brace

README

How to write RIGHT test cases
=============================

Insert the word "ChangeMe" (exactly this form) at a distance of
at least two lines from the line that must appear in the hunk header.

The text that must appear in the hunk header must contain the word
"right", but in all upper-case, like in the title above.

To mark a test case that highlights a malfunction, insert the word
BROKEN in all lower-case somewhere in the file.

This text is a bit twisted and out of order, but it is itself a
test case for the default hunk header pattern. Know what you are doing
if you change it.

BTW, this tests that the head line goes to the hunk header, not the line
of equal signs.