Skip to content

Commit

Permalink
Fix test case formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyclyde committed Oct 1, 2023
1 parent ace7fec commit cd6eb33
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 2 deletions.
4 changes: 2 additions & 2 deletions github/event_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15372,7 +15372,7 @@ func TestPullRequestEvent_Marshal(t *testing.T) {
"name": "n",
"description": "d",
"external_url": "e",
"html_url": "h",
"html_url": "h"
},
"organization": {
"name": "n",
Expand Down Expand Up @@ -16273,7 +16273,7 @@ func TestPullRequestTargetEvent_Marshal(t *testing.T) {
"name": "n",
"description": "d",
"external_url": "e",
"html_url": "h",
"html_url": "h"
},
"organization": {
"name": "n",
Expand Down
56 changes: 56 additions & 0 deletions github/issues_events_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,62 @@ func TestIssueEvent_Marshal(t *testing.T) {
"suspended_at": ` + referenceTimeStr + `,
"url": "u"
},
"requested_team": {
"id": 1,
"node_id": "n",
"name": "n",
"description": "d",
"url": "u",
"slug": "s",
"permission": "p",
"privacy": "p",
"members_count": 1,
"repos_count": 1,
"members_url": "m",
"repositories_url": "r",
"organization": {
"login": "l",
"id": 1,
"node_id": "n",
"avatar_url": "a",
"html_url": "h",
"name": "n",
"company": "c",
"blog": "b",
"location": "l",
"email": "e"
},
"parent": {
"id": 1,
"node_id": "n",
"name": "n",
"description": "d",
"url": "u",
"slug": "s",
"permission": "p",
"privacy": "p",
"members_count": 1,
"repos_count": 1
},
"ldap_dn": "l"
},
"performed_via_github_app": {
"id": 1,
"node_id": "n",
"owner": {
"login": "l",
"id": 1,
"node_id": "n",
"url": "u",
"repos_url": "r",
"events_url": "e",
"avatar_url": "a"
},
"name": "n",
"description": "d",
"html_url": "h",
"external_url": "u"
},
"review_requester": {
"login": "l",
"id": 1,
Expand Down

0 comments on commit cd6eb33

Please sign in to comment.