Fix unit tests · pmd/pmd@1924d23 (original) (raw)

File tree

Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ void errorsShouldBeThrown() {
38 38 // in case of error, we abort at the first error, so in this test case
39 39 // we abort at the first file, so only 1 file is processed.
40 40 assertEquals(1, reportListener.files.get());
41 -Mockito.verify(reporter, Mockito.times(1)).log(Level.DEBUG, "Using single thread for analysis");
41 +Mockito.verify(reporter, Mockito.times(1)).log(Level.DEBUG, "Using main thread for analysis");
42 42 // in mono thread, the error just falls through, we don't additionally catch and log it.
43 43 Mockito.verifyNoMoreInteractions(reporter);
44 44 }