Skip to content

Commit

Permalink
add assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
esaulpaugh committed Sep 6, 2022
1 parent 4e6c9c5 commit 7dfb23c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,9 @@ private static void testDeepCopy(Tuple values) {
}
} else {
assertEquals(tElement, t2Element);
if (c != Tuple.class) {
if (c == Tuple.class) {
assertNotSame(tElement, t2Element);
} else {
assertSame(tElement, t2Element);
}
}
Expand Down

0 comments on commit 7dfb23c

Please sign in to comment.