Skip to content

Fix: CLI test independent of line endings (Windows) - #7

Merged
Erry91 merged 1 commit into
mainfrom
fix/windows-line-endings
Oct 21, 2026
Merged

Erry91 merged 1 commit into
mainfrom
fix/windows-line-endings

Conversation

@Erry91

@Erry91 Erry91 commented Oct 21, 2026

Copy link
Copy Markdown
Owner

What this changes

a_luminaire_without_emergency_output_is_reported_not_guessed removed the example's emergency line by matching it with \n. Windows checks text out with CRLF, so on the first hosted Windows run (now free, since the repository is public) nothing was removed and the test failed. It now drops the line whatever the line ends, and asserts the line was there.

How you verified it

  • Locally, and with the example rewritten to CRLF line ends: the test passes
  • Hosted CI on this PR: Linux, macOS, Windows, cargo deny

Life safety, never panic, provenance

  • Test only

Records

  • None needed

Windows checks the example scenes out with CRLF, so removing a line by
matching it with "\n" did nothing and the test saw an emergency output.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Erry91
Erry91 merged commit 85d3f58 into main Oct 21, 2026
4 checks passed
@Erry91
Erry91 deleted the fix/windows-line-endings branch October 21, 2026 22:57
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