Merge branch 'master' of https://github.com/amedviediev/tutorials into amedviediev-master

This commit is contained in:
David Morley 2016-05-23 06:12:36 -05:00
commit 4bc347acca
1 changed files with 5 additions and 5 deletions

View File

@ -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