Skip to content

Commit 6a90359

Browse files
committed
fix(pampa): pin test fixtures and snapshots to LF via .gitattributes
core.autocrlf=true corrupts pampa's LF-committed qmd fixtures and .snap baselines to CRLF on Windows checkout, causing spurious snapshot/roundtrip/corpus test failures unrelated to actual code behavior. Mirrors the existing quarto-doctemplate/.gitattributes precedent (PR #329): pin on-disk fixtures to LF for checkout determinism, independent of the engine's CRLF-preserve policy which is exercised via in-source tests, never via file-based snapshots.
1 parent 669153f commit 6a90359

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

crates/pampa/.gitattributes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Pampa test fixtures and snapshot baselines must stay LF on every platform
2+
# so the snapshot/roundtrip/corpus tests are deterministic regardless of
3+
# core.autocrlf. The engine's line-ending *preserve* policy is exercised by
4+
# in-source CRLF tests (see claude-notes/designs/line-ending-preserve.md),
5+
# never by these on-disk fixtures.
6+
tests/** text eol=lf
7+
snapshots/** text eol=lf
8+
test-fixtures/** text eol=lf

0 commit comments

Comments
 (0)