]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: Line endings are no longer significant in test files 19469/head
authorDan Fandrich <dan@coneharvesters.com>
Tue, 11 Nov 2025 08:50:52 +0000 (00:50 -0800)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 11 Nov 2025 18:07:41 +0000 (10:07 -0800)
Since commit f477f3efc, CR/LF characters in test files are no longer
significant, making the files a little more XML-like.

Closes #19469

docs/tests/FILEFORMAT.md

index f100adcf89b389d640eabb6b2ab402872a2ca129..8c4d0181e10d6c668ccc85e3cad27c1770a4c6df 100644 (file)
@@ -12,9 +12,9 @@ mark the beginning and the end of all sections, and each label must be written
 in its own line. Comments are either XML-style (enclosed with `<!--` and
 `-->`) or shell script style (beginning with `#`) and must appear on their own
 lines and not alongside actual test data. Most test data files are
-syntactically valid XML, although a few files are not (lack of support for
-character entities and the preservation of CR/LF characters at the end of
-lines are the biggest differences).
+syntactically-valid XML (a few files are not); lack of support for character
+entities is a big difference but macros like %CR fill that particular role
+here.
 
 Each test case source exists as a file matching the format
 `tests/data/testNUM`, where `NUM` is the unique test number, and must begin