Switch to Github Actions for CI

This commit is contained in:
Zac Sweers
2020-09-01 15:48:33 -04:00
committed by GitHub
parent aa1f514157
commit 5c07341977
5 changed files with 89 additions and 35 deletions

View File

@@ -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\":"