Skip to content

Commit 604ad67

Browse files
committed
Reformat
1 parent 7b63544 commit 604ad67

File tree

1 file changed

+34
-18
lines changed

1 file changed

+34
-18
lines changed

core/src/test/java/com/github/jsonldjava/utils/JsonUtilsTest.java

Lines changed: 34 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
import static org.junit.Assert.assertTrue;
44

5-
import java.io.IOException ;
5+
import java.io.IOException;
66
import java.util.Map;
77

8-
import com.fasterxml.jackson.core.JsonParseException ;
8+
import com.fasterxml.jackson.core.JsonParseException;
99

1010
import org.junit.Test;
1111

@@ -34,32 +34,48 @@ public void fromStringTest() {
3434
assertTrue(true);
3535
}
3636
}
37-
37+
3838
@Test
39-
public void trailingContent_1() throws JsonParseException, IOException { trailingContent("{}") ; }
39+
public void trailingContent_1() throws JsonParseException, IOException {
40+
trailingContent("{}");
41+
}
4042

4143
@Test
42-
public void trailingContent_2() throws JsonParseException, IOException { trailingContent("{} \t \r \n \r\n ") ; }
44+
public void trailingContent_2() throws JsonParseException, IOException {
45+
trailingContent("{} \t \r \n \r\n ");
46+
}
4347

44-
@Test(expected=JsonParseException.class)
45-
public void trailingContent_3() throws JsonParseException, IOException { trailingContent("{}x") ; }
48+
@Test(expected = JsonParseException.class)
49+
public void trailingContent_3() throws JsonParseException, IOException {
50+
trailingContent("{}x");
51+
}
4652

47-
@Test(expected=JsonParseException.class)
48-
public void trailingContent_4() throws JsonParseException, IOException { trailingContent("{} x") ; }
53+
@Test(expected = JsonParseException.class)
54+
public void trailingContent_4() throws JsonParseException, IOException {
55+
trailingContent("{} x");
56+
}
4957

50-
@Test(expected=JsonParseException.class)
51-
public void trailingContent_5() throws JsonParseException, IOException { trailingContent("{} \"x\"") ; }
58+
@Test(expected = JsonParseException.class)
59+
public void trailingContent_5() throws JsonParseException, IOException {
60+
trailingContent("{} \"x\"");
61+
}
5262

53-
@Test(expected=JsonParseException.class)
54-
public void trailingContent_6() throws JsonParseException, IOException { trailingContent("{} {}") ; }
63+
@Test(expected = JsonParseException.class)
64+
public void trailingContent_6() throws JsonParseException, IOException {
65+
trailingContent("{} {}");
66+
}
5567

56-
@Test(expected=JsonParseException.class)
57-
public void trailingContent_7() throws JsonParseException, IOException { trailingContent("{},{}") ; }
68+
@Test(expected = JsonParseException.class)
69+
public void trailingContent_7() throws JsonParseException, IOException {
70+
trailingContent("{},{}");
71+
}
5872

59-
@Test(expected=JsonParseException.class)
60-
public void trailingContent_8() throws JsonParseException, IOException { trailingContent("{},[]") ; }
73+
@Test(expected = JsonParseException.class)
74+
public void trailingContent_8() throws JsonParseException, IOException {
75+
trailingContent("{},[]");
76+
}
6177

6278
private void trailingContent(String string) throws JsonParseException, IOException {
63-
JsonUtils.fromString(string) ;
79+
JsonUtils.fromString(string);
6480
}
6581
}

0 commit comments

Comments
 (0)