Skip to content

Commit

Permalink
unify test assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
marctalbott committed Apr 4, 2024
1 parent 3a938c4 commit 9e5fc8d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ void dataTrackingConstraintTest_combineEmptyDestination() throws Exception {
Set<String> dataTypeSet =
dataTrackingConstraint.dataToSet(resultPolicy.getAdditionalData().get(DATA_TRACKING_KEY));

assertEquals(1, dataTypeSet.size());
assertTrue(dataTypeSet.containsAll(Arrays.asList(DATA_TYPE_NAME)));
assertEquals(1, dataTypeSet.size(), "Contains 1 dataType");
assertThat(dataTypeSet, contains(DATA_TYPE_NAME));
}

@Test
Expand Down

0 comments on commit 9e5fc8d

Please sign in to comment.