Open
Description
I found this aux file (and its associated main test file) really awkward to change, because the in-source BOM marker and CRLF line endings are load-bearing. Apparently the byte offsets are, too. Probably use a run-make
test instead to "craft" a BOM + CRLF auxiliary instead to:
- Make it possible to adjust the auxiliary without accidentally regressing the test intention.
- Have some checks that the auxiliary actually has the BOM marker + CRLF line endings.
That test directory uses .gitattributes
to help enforce CRLF line endings, which is clever, but also...
rust/tests/ui/json/json-bom-plus-crlf-multifile-aux.rs
Lines 1 to 13 in 15c4cce