Skip to content

Commit

Permalink
logic change
Browse files Browse the repository at this point in the history
  • Loading branch information
DariuszPorowski committed Sep 28, 2021
1 parent a6a015e commit 77bc22d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions github/projects_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func TestProjectsService_UpdateProject(t *testing.T) {
Name: String("Project Name"),
Body: String("Project body."),
State: String("open"),
Private: Bool(true),
Private: Bool(false),

OrganizationPermission: String("read"),
}
Expand Down Expand Up @@ -857,15 +857,15 @@ func TestProjectOptions_Marshal(t *testing.T) {
Body: String("body"),
State: String("state"),
OrganizationPermission: String("op"),
Private: Bool(true),
Private: Bool(false),
}

want := `{
"name": "name",
"body": "body",
"state": "state",
"organization_permission": "op",
"private": true
"private": false
}`

testJSONMarshal(t, u, want)
Expand Down

0 comments on commit 77bc22d

Please sign in to comment.