Commit c8c5496
Ovtcharov
fix(tests): pin skill-audit digest fixtures to LF so the vectors hold on Windows
content_digest hashes fixture bytes raw, with no line-ending normalization,
because it covers arbitrary content and not just text. The fixture tree carried
no .gitattributes pin, so a Windows checkout with core.autocrlf=true rewrote
tree/SKILL.md, tree/tools.py and tree/scripts/run.py to CRLF and changed the
hash — test_content_digest_of_the_fixture_tree_matches_the_vector and
test_content_digest_ignores_a_build_cache failed on Windows only while CI stayed
green on Linux.
-text on the fixture directory stops conversion in both directions, so the LF
files stay LF and skill_md_crlf.txt keeps the CRLF bytes it deliberately tests.1 parent a696a06 commit c8c5496
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
0 commit comments