Merge branch 'master' of https://github.com/amedviediev/tutorials into amedviediev-master
This commit is contained in:
commit
4bc347acca
|
@ -25,11 +25,11 @@ class FirstTest {
|
|||
@Test
|
||||
void groupAssertions() {
|
||||
int[] numbers = {0, 1, 2, 3, 4};
|
||||
assertAll("numbers", () -> {
|
||||
assertEquals(numbers[0], 1);
|
||||
assertEquals(numbers[3], 3);
|
||||
assertEquals(numbers[4], 1);
|
||||
});
|
||||
assertAll("numbers",
|
||||
() -> assertEquals(numbers[0], 1),
|
||||
() -> assertEquals(numbers[3], 3),
|
||||
() -> assertEquals(numbers[4], 1)
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue