slachiewicz opened a new pull request, #184:
URL: https://github.com/apache/maven-doxia-converter/pull/184
Make the successful `executeCommand` test assert that no exception is thrown
instead of relying on a bare call.
- Wrap `DefaultConverter.executeCommand("git", "version")` in
`assertDoesNotThrow` and drop the now-unneeded `throws Exception`.
Tracking: #14072
Verified: `mvn -B -o test` (Java 21) -> BUILD SUCCESS; module keeps 3 tests,
`DefaultConverterTest` 3 tests, 0 failures. Mutation forcing `executeCommand`
to fail -> `testExecuteCommand` failed with the unexpected exception, then
restored.
--
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]