saravanakumar1987 opened a new pull request, #30622: URL: https://github.com/apache/camel/pull/30622
# Description Fixes [CAMEL-27408](https://issues.apache.org/jira/browse/CAMEL-27408). ## Summary On Windows, `testMarshalDOM` of `GroovyXmlDataFormatTest` failed, because the marshalled DOM document has CRLF line terminators there. The test compared it with a text block, which has LF line terminators. The test now replaces the platform line separator with LF and appends an LF before the comparison. - Only the test changes. ## Tests - On Windows, `testMarshalDOM` failed before the change, and all 10 tests of `GroovyXmlDataFormatTest` pass now. - On Windows, one of the 136 tests of `camel-groovy` still fails for another reason ([CAMEL-27401](https://issues.apache.org/jira/browse/CAMEL-27401)). - On Linux the comparison is the same as before, as the platform line separator is LF there. # Target - [x] I checked that the commit is targeting the correct branch (Camel 4 uses the `main` branch) # Tracking - [x] If this is a large change, bug fix, or code improvement, I checked there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). # Apache Camel coding standards and style - [x] I checked that each commit in the pull request has a meaningful subject line and body. - [x] I ran `mvn clean install -Dquickly -DskipTests` in the root folder on the parent commit, b1919763fb4b. Then I ran `mvn test -nsu -Dtest=GroovyXmlDataFormatTest` and `mvn test -nsu` in `components/camel-groovy`. # AI-assisted contributions - [x] If this PR includes AI-generated code, commits have proper co-authorship attribution (e.g., `Co-authored-by` trailers) and the PR description identifies the AI tool used. Claude Code (Anthropic) drafted the change and this text, and ran the builds and tests named above. _Claude Code on behalf of saravanakumar1987_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
