Skip to content

Commit 7eac364

Browse files
authored
Fix rest-api build.gradle and test import ordering. (exercism#1833)
1 parent 687020b commit 7eac364

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

exercises/rest-api/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ repositories {
88

99
dependencies {
1010
compile 'org.json:json:20190722'
11-
testCompile "junit:junit:4.12"
11+
testCompile "junit:junit:4.13"
12+
testImplementation "org.assertj:assertj-core:3.15.0"
1213
}
1314

1415
test {

exercises/rest-api/src/test/java/RestApiTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
import static org.junit.Assert.assertEquals;
2+
3+
import org.json.JSONArray;
4+
import org.json.JSONObject;
15
import org.junit.Ignore;
26
import org.junit.Test;
37
import org.junit.experimental.runners.Enclosed;
48
import org.junit.runner.RunWith;
5-
import org.json.JSONArray;
6-
import org.json.JSONObject;
79

8-
import static org.junit.Assert.assertEquals;
910
@RunWith(Enclosed.class)
1011
public class RestApiTest {
1112

0 commit comments

Comments
 (0)