Skip to content

Commit

Permalink
simplify one assert
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenxia committed Nov 5, 2024
1 parent d68a209 commit c895fdf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public void testEqualsAndHashCode() {
.setParentClosePolicy(ParentClosePolicy.TERMINATE)
.build();

assertTrue(parameters1.equals(parameters2));
assertEquals(parameters1, parameters2);
assertEquals(parameters1.hashCode(), parameters2.hashCode());
}

Expand Down

0 comments on commit c895fdf

Please sign in to comment.