interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / t4018

113d62b userdiff: add support for Swift Shlok Kulshreshtha committed 2026-07-21
..
README564
bash-arithmetic-function42
bash-bashism-style-compact87
bash-bashism-style-complete-line-capture48
bash-bashism-style-function45
bash-bashism-style-whitespace46
bash-conditional-function40
bash-missing-parentheses87
bash-mixed-style-compact46
bash-mixed-style-function35
bash-nested-functions66
bash-other-characters30
bash-posix-style-compact25
bash-posix-style-complete-line-capture33
bash-posix-style-function26
bash-posix-style-single-command-function35
bash-posix-style-whitespace36
bash-subshell-function28
bash-trailing-comment36
cpp-c++-function59
cpp-class-constructor37
cpp-class-constructor-mem-init50
cpp-class-definition32
cpp-class-definition-derived52
cpp-class-destructor31
cpp-function-returning-global-type39
cpp-function-returning-nested43
cpp-function-returning-pointer51
cpp-function-returning-reference49
cpp-gnu-style-function43
cpp-namespace-definition31
cpp-operator-definition56
cpp-skip-access-specifiers100
cpp-skip-comment-block86
cpp-skip-labels98
cpp-struct-definition159
cpp-struct-single-line63
cpp-template-function-definition50
cpp-union-definition43
cpp-void-c-function33
csharp-exclude-assignments434
csharp-exclude-control-statements605
csharp-exclude-exceptions459
csharp-exclude-generic-method-calls189
csharp-exclude-init-dispose344
csharp-exclude-iterations498
csharp-exclude-method-calls353
csharp-exclude-other277
csharp-method123
csharp-method-array127
csharp-method-explicit164
csharp-method-generics180
csharp-method-generics-alternate-spaces179
csharp-method-modifiers204
csharp-method-multiline127
csharp-method-params150
csharp-method-special-chars181
csharp-method-with-spacing131
csharp-property137
csharp-property-braces-same-line133
css-attribute-value-selector80
css-block-level-@-statements184
css-brace-in-col-198
css-class-selector70
css-colon-eol30
css-colon-selector90
css-common98
css-id-selector70
css-long-selector-list116
css-prop-sans-indent103
css-root-selector70
css-short-selector-list100
css-trailing-space104
custom1-pattern432
custom2-match-to-end-of-line120
custom3-alternation-in-pattern426
dts-labels108
dts-node-unitless98
dts-nodes112
dts-nodes-boolean-prop94
dts-nodes-comment1129
dts-nodes-comment2138
dts-nodes-multiline-prop155
dts-reference89
dts-root116
dts-root-comment180
elixir-do-not-pick-end65
elixir-ex-unit-test90
elixir-function67
elixir-macro56
elixir-module106
elixir-module-func97
elixir-nested-module112
elixir-private-function68
elixir-protocol133
elixir-protocol-implementation68
fortran-block-data113
fortran-comment174
fortran-comment-keyword212
fortran-comment-legacy162
fortran-comment-legacy-star162
fortran-external-function144
fortran-external-subroutine54
fortran-module45
fortran-module-procedure249
fortran-program48
fountain-scene88
golang-complex-function108
golang-func40
golang-interface49
golang-long-func133
golang-struct42
ini-section82
ini-section-noindent50
ini-section-same-line74
ini-subsection169
ini-subsection-noindent115
java-class-brace-on-separate-line81
java-class-member-function187
java-class-space-before-type-parameters131
java-class-type-parameters108
java-class-type-parameters-implements127
java-enum-constant65
java-interface-type-parameters118
java-interface-type-parameters-extends141
java-method-return-generic-bounded249
java-method-return-generic-wildcard226
java-nested-field133
java-non-sealed218
java-record150
java-record-space-before-components159
java-record-type-parameters161
java-sealed166
java-sealed-permits158
java-sealed-type-parameters133
java-sealed-type-parameters-implements-permits183
java-sealed-type-parameters-permits164
kotlin-class55
kotlin-enum-class53
kotlin-fun63
kotlin-inheritace-class61
kotlin-inline-class65
kotlin-interface69
kotlin-nested-fun96
kotlin-public-class56
kotlin-sealed-class61
markdown-heading-indented117
markdown-heading-non-headings390
matlab-class-definition59
matlab-function50
matlab-octave-section-156
matlab-octave-section-255
matlab-section78
perl-skip-end-of-heredoc127
perl-skip-forward-decl152
perl-skip-sub-in-pod225
perl-sub-definition48
perl-sub-definition-kr-brace35
php-abstract-class53
php-abstract-method110
php-class44
php-enum50
php-final-class50
php-final-method97
php-function44
php-interface56
php-method90
php-trait85
python-async-def85
python-class74
python-def79
python-indented-async-def125
python-indented-class98
python-indented-def119
r-indent91
r-indent-nested183
r-noindent75
rust-fn104
rust-impl95
rust-macro-rules89
rust-struct87
rust-trait133
scheme-class162
scheme-def83
scheme-def-variant124
scheme-define-slash-public149
scheme-define-syntax252
scheme-define-variant87
scheme-library340
scheme-lisp-defun-a85
scheme-lisp-defun-b106
scheme-lisp-eval-when181
scheme-local-define105
scheme-module-a235
scheme-module-b235
scheme-top-level-define86
scheme-user-defined-define249
swift-actor68
swift-attribute-with-args133
swift-class68
swift-enum65
swift-extension86
swift-failable-init107
swift-func81
swift-generic-subscript132
swift-init106
swift-inline-attribute118
swift-modifiers75
swift-protocol96
swift-struct69

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.

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.