Tests: the DXF writer goldens keep LF line endings in a checkout with core.autocrlf

export_bytes_match_shared_writer_goldens compares the DXF writer's output
with crates/cad/tests/data/shapes_r12.dxf and shapes_r2018.dxf byte for
byte. With core.autocrlf=true, git checked both files out with CRLF line
endings while the writer emits LF, and the test failed. A root
.gitattributes now marks those files -text, so git checks them out with
the LF bytes stored in the index.
This commit is contained in:
dotCooCoo committed 2026-11-28 17:25:22 -08:00
1 parent 31a5e30057
commit f0769af30e
1 file changed
+2
+2
View File
@@ -0,0 +1,2 @@
# The DXF writer goldens are compared byte for byte with the writer's output (LF line endings).
crates/cad/tests/data/*.dxf -text