Skip to content

Fix tests that fail on Windows because of Line Separator mismatch.#439

Closed
rmcdouga wants to merge 1 commit intohamcrest:masterfrom
rmcdouga:Issue_438_OptionalMatchersTest_Tests_Fail_On_Windows
Closed

Fix tests that fail on Windows because of Line Separator mismatch.#439
rmcdouga wants to merge 1 commit intohamcrest:masterfrom
rmcdouga:Issue_438_OptionalMatchersTest_Tests_Fail_On_Windows

Conversation

@rmcdouga
Copy link

The expected strings now use System.lineSeparator() instead. Closes #438.

The expected strings now use System.lineSeparator() instead.
Closes hamcrest#438.
@rmcdouga rmcdouga mentioned this pull request Sep 6, 2025
@rmcdouga
Copy link
Author

rmcdouga commented Sep 7, 2025

This PR doesn't meet coding formatting standards for the project (it uses tabs for indenting).

At the time I submitted this, I didn't have GitHub actions enabled, so I wasn't aware of the formatting enforcement.

The formatting is fixed in version of this code incorporated into Hamcrest 4.0 Draft PR #443.

@rmcdouga
Copy link
Author

rmcdouga commented Oct 5, 2025

Closing this PR. It has been merged into #443 .

@rmcdouga rmcdouga closed this Oct 5, 2025
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.

OptionalMatchersTest tests fail on Windows

1 participant