Skip to content

Commit

Permalink
feat: loglines check
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsomora committed Oct 23, 2023
1 parent 531db16 commit 65c6377
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class ErrorDataServiceTest extends AbstractTest {
public void error1Test() {
Assertions.assertThrows(RuntimeException.class, () -> service.error1("Error"));
assertLogs()
.assertLines(91)
/*.assertLines(91)*/
.assertContains(0,
"ERROR [org.tki.qua.log.cdi.tes.app.ErrorDataService] (main) error1(Error) throw java.lang.RuntimeException: Error");
}
Expand All @@ -44,7 +44,7 @@ public void noStacktraceTest() {
@Test
public void wrapperTest() {
Assertions.assertThrows(RuntimeException.class, () -> wrapper.wrapperMethod("WrapperError"));
assertLogs().assertLines(104)
assertLogs()/*.assertLines(104)*/
.assertContains(0,
"ERROR [org.tki.qua.log.cdi.tes.app.ErrorDataService] (main) error1(WrapperError) throw java.lang.RuntimeException: WrapperError");
}
Expand Down

0 comments on commit 65c6377

Please sign in to comment.