Skip to content

Commit 204e846

Browse files
author
Damian Staszewski
committed
short and better way.
1 parent 70caf2b commit 204e846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/pl/stachuofficial/HiRezAPITest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ static void setUp() {
5151
}
5252

5353
void testData(boolean condition, String title) {
54-
Assertions.assertTrue(condition, title);
5554
if (condition) System.out.println(title+": OK");
5655
else System.err.println(title+": ERROR");
56+
Assertions.assertTrue(condition, title);
5757
}
5858

5959
@Test

0 commit comments

Comments
 (0)