Skip to content

Commit

Permalink
fix assertAll
Browse files Browse the repository at this point in the history
  • Loading branch information
cynthiaxyin committed Jul 20, 2023
1 parent a3d54dc commit ae42899
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public void testChooseUnion() {
unionToType.put(new Union(ImmutableList.of(BOOLEAN, INTEGER)), INTEGER);

assertAll(
() -> unionToType.forEach((u, t) -> assertEquals(t, u.chooseType())));
unionToType.entrySet().stream().map(e -> () -> assertEquals(e.getValue(), e.getKey().chooseType())));
}

@Test
Expand Down

0 comments on commit ae42899

Please sign in to comment.