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.
 
 
 
 
 
 
Philippe Blain 75c3b6b2e8 userdiff: improve Fortran xfuncname regex 4 years ago
..
README
cpp-c++-function
cpp-class-constructor
cpp-class-constructor-mem-init
cpp-class-definition
cpp-class-definition-derived
cpp-class-destructor
cpp-function-returning-global-type
cpp-function-returning-nested
cpp-function-returning-pointer
cpp-function-returning-reference
cpp-gnu-style-function
cpp-namespace-definition
cpp-operator-definition
cpp-skip-access-specifiers
cpp-skip-comment-block
cpp-skip-labels
cpp-struct-definition
cpp-struct-single-line
cpp-template-function-definition
cpp-union-definition
cpp-void-c-function
css-brace-in-col-1
css-colon-eol
css-colon-selector
css-common
css-long-selector-list
css-prop-sans-indent
css-short-selector-list
css-trailing-space
custom1-pattern
custom2-match-to-end-of-line
custom3-alternation-in-pattern
dts-labels userdiff: add a builtin pattern for dts files 5 years ago
dts-node-unitless userdiff: add a builtin pattern for dts files 5 years ago
dts-nodes userdiff: add a builtin pattern for dts files 5 years ago
dts-nodes-boolean-prop userdiff: fix some corner cases in dts regex 5 years ago
dts-nodes-comment1 userdiff: add a builtin pattern for dts files 5 years ago
dts-nodes-comment2 userdiff: add a builtin pattern for dts files 5 years ago
dts-nodes-multiline-prop userdiff: fix some corner cases in dts regex 5 years ago
dts-reference userdiff: add a builtin pattern for dts files 5 years ago
dts-root userdiff: fix some corner cases in dts regex 5 years ago
dts-root-comment userdiff: fix some corner cases in dts regex 5 years ago
elixir-do-not-pick-end userdiff: add Elixir to supported userdiff languages 5 years ago
elixir-ex-unit-test userdiff: add Elixir to supported userdiff languages 5 years ago
elixir-function userdiff: add Elixir to supported userdiff languages 5 years ago
elixir-macro userdiff: add Elixir to supported userdiff languages 5 years ago
elixir-module userdiff: add Elixir to supported userdiff languages 5 years ago
elixir-module-func userdiff: add Elixir to supported userdiff languages 5 years ago
elixir-nested-module userdiff: add Elixir to supported userdiff languages 5 years ago
elixir-private-function userdiff: add Elixir to supported userdiff languages 5 years ago
elixir-protocol userdiff: add Elixir to supported userdiff languages 5 years ago
elixir-protocol-implementation userdiff: add Elixir to supported userdiff languages 5 years ago
fortran-block-data userdiff: add tests for Fortran xfuncname regex 4 years ago
fortran-comment userdiff: add tests for Fortran xfuncname regex 4 years ago
fortran-comment-keyword userdiff: improve Fortran xfuncname regex 4 years ago
fortran-comment-legacy userdiff: add tests for Fortran xfuncname regex 4 years ago
fortran-comment-legacy-star userdiff: add tests for Fortran xfuncname regex 4 years ago
fortran-external-function userdiff: add tests for Fortran xfuncname regex 4 years ago
fortran-external-subroutine userdiff: add tests for Fortran xfuncname regex 4 years ago
fortran-module userdiff: add tests for Fortran xfuncname regex 4 years ago
fortran-module-procedure userdiff: add tests for Fortran xfuncname regex 4 years ago
fortran-program userdiff: add tests for Fortran xfuncname regex 4 years ago
fountain-scene
golang-complex-function
golang-func
golang-interface
golang-long-func
golang-struct
java-class-member-function
markdown-heading-indented userdiff: support Markdown 5 years ago
markdown-heading-non-headings userdiff: support Markdown 5 years ago
matlab-class-definition
matlab-function
matlab-octave-section-1
matlab-octave-section-2
matlab-section
perl-skip-end-of-heredoc
perl-skip-forward-decl
perl-skip-sub-in-pod
perl-sub-definition
perl-sub-definition-kr-brace
php-abstract-class
php-class
php-final-class
php-function
php-interface
php-method
php-trait
python-async-def userdiff: support Python async functions 5 years ago
python-class userdiff: support Python async functions 5 years ago
python-def userdiff: support Python async functions 5 years ago
python-indented-async-def userdiff: support Python async functions 5 years ago
python-indented-class userdiff: support Python async functions 5 years ago
python-indented-def userdiff: support Python async functions 5 years ago
rust-fn
rust-impl
rust-struct
rust-trait

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.