Skip to content

Commit c895fdf

Browse files
committed
simplify one assert
1 parent d68a209 commit c895fdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/uber/cadence/internal/replay/StartChildWorkflowExecutionParametersTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public void testEqualsAndHashCode() {
142142
.setParentClosePolicy(ParentClosePolicy.TERMINATE)
143143
.build();
144144

145-
assertTrue(parameters1.equals(parameters2));
145+
assertEquals(parameters1, parameters2);
146146
assertEquals(parameters1.hashCode(), parameters2.hashCode());
147147
}
148148

0 commit comments

Comments
 (0)