slachiewicz opened a new pull request, #1454:
URL: https://github.com/apache/maven-scm/pull/1454

   Simplify the ChangeSet assertions by using `String.contains` and grouping 
related checks with `assertAll`.
   
   - Replace `indexOf(...) != -1` with `contains(...)` in `testAddFileWithFile` 
and `testToString`.
   - Group the five `containsFilename` checks and the three `toString()` checks 
with `assertAll`.
   
   Tracking: #14072
   Verified: `mvn -B -o -pl maven-scm-api test` (Java 21) -> BUILD SUCCESS, 33 
tests (1 skipped); `ChangeSetTest` remains 16 tests. Mutation of one expected 
substring -> assertion failure, then restored. Full-reactor `mvn -B -o test` 
hits a pre-existing environment failure in 
`GitCheckInCommandTest.testSignedCheckin` (global `gpg.format=ssh` vs imported 
OpenPGP key), unrelated to this change.
   


-- 
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]

Reply via email to