mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 16:09:21 +08:00
Switch to Github Actions for CI
This commit is contained in:
@@ -53,7 +53,9 @@ public final class CircularAdaptersTest {
|
||||
JsonAdapter<Team> teamAdapter = moshi.adapter(Team.class);
|
||||
|
||||
Team team =
|
||||
new Team("Alice", new Project("King", new Team("Charlie", new Project("Delivery", null))));
|
||||
new Team(
|
||||
"Alice",
|
||||
new Project("King", new Team("Charlie", new Project("Delivery", (Team[]) null))));
|
||||
assertThat(teamAdapter.toJson(team))
|
||||
.isEqualTo(
|
||||
"{\"lead\":\"Alice\",\"projects\":[{\"name\":"
|
||||
|
Reference in New Issue
Block a user