Skip to content

Tests: the README kind-summary regex accepts CRLF line endings - #8

Merged
Thorium merged 1 commit into
Thorium:mainfrom
simontreanor:readme-test-crlf
Sep 27, 2026
Merged

Thorium merged 1 commit into
Thorium:mainfrom
simontreanor:readme-test-crlf

Conversation

@simontreanor

Copy link
Copy Markdown
Contributor

the README's kind summary matches the rules it lists fails on a Windows checkout with core.autocrlf=true: the README gets CRLF line endings, a multiline $ matches only before \n, so the table rows never match and the test reports Assert.NotEmpty() Failure: Collection was empty. CI runs the tests on Linux, so it only shows locally on Windows. This PR adds \r? before the $.

It was the only failure in the full suite on Windows; with this change all 3,002 tests pass.

https://claude.ai/code/session_019V58BHhd4xcqmxoYHpKdTk

On a Windows checkout with core.autocrlf the README has CRLF line endings,
and a multiline `$` matches only before `\n`, so the summary table never
matched and the test failed with "Collection was empty". CI runs the tests on
Linux, so it only showed on Windows.

Claude-Session: https://claude.ai/code/session_019V58BHhd4xcqmxoYHpKdTk
@Thorium

Thorium commented Sep 27, 2026

Copy link
Copy Markdown
Owner

Thanks!

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.

2 participants