mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-09-14 00:55:08 +00:00
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.
9 lines
426 B
Plaintext
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
|