Skip to content

Commit b7e267a

Browse files
migrate 77 to junit5
1 parent b6308a5 commit b7e267a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
import com.fishercoder.common.utils.CommonUtils;
44
import com.fishercoder.solutions._77;
5-
import org.junit.BeforeClass;
6-
import org.junit.Test;
5+
import org.junit.jupiter.api.BeforeEach;
6+
import org.junit.jupiter.api.Test;
77

88
public class _77Test {
99
private static _77.Solution1 solution1;
1010
private static _77.Solution2 solution2;
1111

12-
@BeforeClass
13-
public static void setup() {
12+
@BeforeEach
13+
public void setup() {
1414
solution1 = new _77.Solution1();
1515
solution2 = new _77.Solution2();
1616
}

0 commit comments

Comments
 (0)