Skip to content

Fix Windows CI certificate fixture comparison - #423

Merged
mingyech merged 1 commit into
masterfrom
codex/fix-windows-certificate-generation
Oct 6, 2026
Merged

mingyech merged 1 commit into
masterfrom
codex/fix-windows-certificate-generation

Conversation

@mingyech

@mingyech mingyech commented Oct 6, 2026

Copy link
Copy Markdown
Member

Windows checkout converts certificates_test.go to CRLF, causing TestGenerateCertificates to report that the fixture is out of date. Normalize CRLF to LF before comparing it with the generated content so the Windows CI job passes while stale fixtures still fail.

Validation:

  • Reproduced the original CI failure by converting the fixture to CRLF.
  • Confirmed the fixed test passes with CRLF and still rejects stale CRLF fixture content.
  • go build ./...
  • go test ./...

@mingyech
mingyech merged commit 0e7a17d into master Oct 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant