Files
amethyst/.gitattributes
Dr. Tobias Baur e19fce0ed2 fix: pin kind 11998 in the indexable-content golden and make it CRLF-proof
The golden test's KINDS list was missing the new heartbeat kind, and the
comparison read the golden raw — on Windows CI (autocrlf checkout) every
internal CRLF counted as a diff, failing the suite with a full-table
ComparisonFailure. Adds 11998 as a pinned <not searchable> row (a heartbeat
is a machine signal: no indexable content, per the NIP-50 eligibility
policy), normalizes CRLF in the comparison, and forces LF for *.golden in
.gitattributes so checkouts can never break it. No reindex needed: nothing
is indexed for this kind.
2026-09-10 16:40:06 +02:00

9 lines
426 B
Plaintext

# Gzip-compressed test corpora (e.g. nostr_vitor_startup_data.json.gz): treat as
# binary so git never applies CRLF/text normalization or textual diff/merge, which
# would corrupt the compressed stream (important on Windows checkouts).
*.gz binary
# Golden test resources are compared byte-for-byte against generated strings:
# force LF everywhere so a Windows CRLF checkout cannot break the comparison.
*.golden text eol=lf