Skip to content

Commit 7a3b8ef

Browse files
migrate 56 to junit5
1 parent 2560e0b commit 7a3b8ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/test/java/com/fishercoder/_56Test.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import org.junit.jupiter.api.BeforeEach;
55
import org.junit.jupiter.api.Test;
66

7-
import static org.junit.jupiter.api.Assertions.assertEquals;
7+
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
88

99
public class _56Test {
1010
private static _56.Solution1 solution1;
@@ -29,7 +29,7 @@ public void test1() {
2929
{2, 4},
3030
{5, 5}
3131
};
32-
assertEquals(expected, solution1.merge(intervals));
32+
assertArrayEquals(expected, solution1.merge(intervals));
3333
}
3434

3535
}

0 commit comments

Comments
 (0)