From a983ececc25195f9a17476b56fd30b21dfbeade9 Mon Sep 17 00:00:00 2001 From: Pranav Bansal Date: Sat, 21 Sep 2024 13:35:20 +0100 Subject: [PATCH] add test cov --- github/checks_test.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/github/checks_test.go b/github/checks_test.go index 2fdd2476e56..48f6370fe96 100644 --- a/github/checks_test.go +++ b/github/checks_test.go @@ -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(`{ @@ -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)