Fix integration test

This commit is contained in:
Andreas Dangel 2024-05-03 10:46:33 +02:00
parent 95215ecde7
commit ab82f28cf1
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3

View File

@ -191,7 +191,7 @@ class BinaryDistributionIT extends AbstractBinaryDistributionTest {
ExecutionResult result = PMDExecutor.runPMDRules(createTemporaryReportFile(), tempDir, srcDir, "src/test/resources/rulesets/sample-ruleset.xml"); ExecutionResult result = PMDExecutor.runPMDRules(createTemporaryReportFile(), tempDir, srcDir, "src/test/resources/rulesets/sample-ruleset.xml");
result.assertExitCode(0).assertStdErr(containsString("Run in verbose mode to see a stack-trace.")); result.assertExitCode(5).assertStdErr(containsString("Run in verbose mode to see a stack-trace."));
} }
@Test @Test