mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 02:07:10 +01:00
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:
1 parent
31a5e30057
commit
f0769af30e
1 file changed
+2
@@ -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
|
||||
Reference in new issue
Block a user