mirror of
https://github.com/curl/curl.git
synced 2026-08-26 11:03:33 +03:00
tests: replace significant invisible spaces with macros
To make them explicit, visible, avoid being accidentally trimmed. Also prevents Git warnings, e.g. on `git am`. Also: - runtests: add support for `%spc%` and `%tab%` macros. - test59: delete non-significant line-ending space. - spacecheck.pl: drop line-ending whitespace exception for tests. Closes #19300
This commit is contained in:
parent
928363f28c
commit
d29f14b9cf
41 changed files with 64 additions and 58 deletions
|
|
@ -44,7 +44,7 @@ User-Agent: curl/%VERSION
|
|||
extra-header: here
|
||||
Accept: replaced
|
||||
X-Custom-Header:
|
||||
X-Test: foo;
|
||||
X-Test: foo;%spc%
|
||||
X-Test2: foo;
|
||||
|
||||
GET /%TESTNUMBER HTTP/1.1
|
||||
|
|
@ -53,7 +53,7 @@ User-Agent: curl/%VERSION
|
|||
extra-header: here
|
||||
Accept: replaced
|
||||
X-Custom-Header:
|
||||
X-Test: foo;
|
||||
X-Test: foo;%spc%
|
||||
X-Test2: foo;
|
||||
|
||||
</protocol>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue