saravanakumar1987 opened a new pull request, #30653: URL: https://github.com/apache/camel/pull/30653
# Description Fixes [CAMEL-27424](https://issues.apache.org/jira/browse/CAMEL-27424). ## Summary The reviews of #30621 and #30622 each made one optional proposal for a test. This change takes both. Only test code changes. - `testValidateExpressionIndexWithLfAndCrLf` of `GroovyLanguageTest` checks one more script, with CR line ends only. - `testMarshalDOM` of `GroovyXmlDataFormatTest` replaces CRLF with LF, and no longer the platform line separator. ## Tests - The new case shows that CR alone starts no new line in Groovy 5.1.3, as the fix of CAMEL-27401 assumes. - It also passes with the method before that fix, which added nothing for an error in line 1. - On Windows, all 10 tests of `GroovyXmlDataFormatTest` pass after the change. - On Windows, the test run of `camel-groovy` passed before and after the change: 137 tests, no failure, one skipped. # 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, ac040fa685f5. Then I ran `mvn test -nsu` in `components/camel-groovy`, before and after the change. # 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]
