Repository navigation
Ignore line endings in DICOM and NCPDP serializer tests - #602
Merged
tonygermano merged 1 commit intoNov 25, 2026
Conversation
The XML output uses the platform's line endings while the fixtures are stored with LF, so 11 tests failed on Windows (fixes OpenIntegrationEngine#601). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Michael Hobbs <michael.lee.hobbs@gmail.com>
MichaelLeeHobbs
marked this pull request as ready for review
November 25, 2026 03:56
MichaelLeeHobbs
requested review from
a team,
gibson9583,
jonbartels,
kayyagari,
kpalang,
mgaffigan,
ssrowe and
tonygermano
November 25, 2026 03:56
mgaffigan
approved these changes
Nov 25, 2026
mgaffigan
left a comment
Contributor
There was a problem hiding this comment.
Seems like this highlights a windows gap in CI, too.
tonygermano
approved these changes
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #601.
DICOMSerializerTestandNCPDPSerializerTestcompare pretty-printed XML, which uses the platform's line endings, with fixtures stored as LF. 11 tests fail on Windows.Change
Both sides of those five assertions now go through the existing
TestUtil.normalizeLineEndings(), asEDISerializerTestandHL7SerializerTestalready do. Test code only.How to verify
On Windows with
core.autocrlf=false:gradlew.bat :server:test --tests "*DICOMSerializerTest" --tests "*NCPDPSerializerTest" -PdisableSigning=trueOn Windows 10 with Zulu 17, 11 of 20 tests failed at 8e5e63d and all 20 pass with this change. The full
:server:testtask passes too.🤖 Generated with Claude Code