Fix unit test

This commit is contained in:
Andreas Dangel
2016-01-20 22:47:15 +01:00
parent bd64e4fdc6
commit 260e777d71
@@ -38,7 +38,7 @@ public class CPDCommandLineInterfaceTest extends BaseCPDCLITest {
"--ignore-identifiers",
"--failOnViolation", "false");
String out = bufferStdout.toString("UTF-8");
String out = getOutput();
Assert.assertTrue(out.contains("Found a 7 line (36 tokens) duplication"));
Assert.assertEquals(0, Integer.parseInt(System.getProperty(CPDCommandLineInterface.STATUS_CODE_PROPERTY)));
}