Skip to content

Commit

Permalink
add test cov
Browse files Browse the repository at this point in the history
  • Loading branch information
prnvbn committed Sep 21, 2024
1 parent 8ea2d71 commit a983ece
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion github/checks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,9 @@ func Test_CheckSuiteMarshal(t *testing.T) {
HeadCommit: &Commit{
SHA: String("s"),
},
LatestCheckRunsCount: Int64(1),
Rerequstable: Bool(true),
RunsRerequstable: Bool(true),
}

w := fmt.Sprintf(`{
Expand Down Expand Up @@ -949,7 +952,10 @@ func Test_CheckSuiteMarshal(t *testing.T) {
],
"head_commit": {
"sha": "s"
}
},
"latest_check_runs_count": 1,
"rerequestable": true,
"runs_rerequestable": true
}`, ts, ts)

testJSONMarshal(t, &c, w)
Expand Down

0 comments on commit a983ece

Please sign in to comment.