@@ -491,9 +491,9 @@ func TestRepositoriesService_GetBranchProtection(t *testing.T) {
491
491
492
492
want := & Protection {
493
493
RequiredStatusChecks : & RequiredStatusChecks {
494
- IncludeAdmins : Bool ( true ) ,
495
- Strict : Bool ( true ) ,
496
- Contexts : & []string {"continuous-integration" },
494
+ IncludeAdmins : true ,
495
+ Strict : true ,
496
+ Contexts : []string {"continuous-integration" },
497
497
},
498
498
RequiredPullRequestReviews : & RequiredPullRequestReviews {
499
499
IncludeAdmins : true ,
@@ -518,9 +518,9 @@ func TestRepositoriesService_UpdateBranchProtection(t *testing.T) {
518
518
519
519
input := & ProtectionRequest {
520
520
RequiredStatusChecks : & RequiredStatusChecks {
521
- IncludeAdmins : Bool ( true ) ,
522
- Strict : Bool ( true ) ,
523
- Contexts : & []string {"continuous-integration" },
521
+ IncludeAdmins : true ,
522
+ Strict : true ,
523
+ Contexts : []string {"continuous-integration" },
524
524
},
525
525
RequiredPullRequestReviews : & RequiredPullRequestReviews {
526
526
IncludeAdmins : true ,
@@ -550,9 +550,9 @@ func TestRepositoriesService_UpdateBranchProtection(t *testing.T) {
550
550
551
551
want := & Protection {
552
552
RequiredStatusChecks : & RequiredStatusChecks {
553
- IncludeAdmins : Bool ( true ) ,
554
- Strict : Bool ( true ) ,
555
- Contexts : & []string {"continuous-integration" },
553
+ IncludeAdmins : true ,
554
+ Strict : true ,
555
+ Contexts : []string {"continuous-integration" },
556
556
},
557
557
RequiredPullRequestReviews : & RequiredPullRequestReviews {
558
558
IncludeAdmins : true ,
0 commit comments