temp checkin
This commit is contained in:
+7
-7
@@ -12,14 +12,14 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// parse errros
|
||||
// parse errors
|
||||
var (
|
||||
ErrEventNotSpecifiedToParse = errors.New("No Event specified to parse")
|
||||
ErrInvalidHTTPMethod = errors.New("Invalid HTTP Method")
|
||||
ErrMissingGithubEventHeader = errors.New("Missing X-GitHub-Event Header")
|
||||
ErrMissingHubSignatureHeader = errors.New("Missing X-Hub-Signature Header")
|
||||
ErrEventNotFound = errors.New("Event not defined to be parsed")
|
||||
ErrParsingPayload = errors.New("Error parsing payload")
|
||||
ErrEventNotSpecifiedToParse = errors.New("no Event specified to parse")
|
||||
ErrInvalidHTTPMethod = errors.New("invalid HTTP Method")
|
||||
ErrMissingGithubEventHeader = errors.New("missing X-GitHub-Event Header")
|
||||
ErrMissingHubSignatureHeader = errors.New("missing X-Hub-Signature Header")
|
||||
ErrEventNotFound = errors.New("event not defined to be parsed")
|
||||
ErrParsingPayload = errors.New("error parsing payload")
|
||||
ErrHMACVerificationFailed = errors.New("HMAC verification failed")
|
||||
)
|
||||
|
||||
|
||||
@@ -1574,7 +1574,7 @@ func TestIssueCommentEvent(t *testing.T) {
|
||||
"created_at": "2015-05-05T23:40:28Z",
|
||||
"updated_at": "2015-05-05T23:40:28Z",
|
||||
"closed_at": null,
|
||||
"body": "It looks like you accidently spelled 'commit' with two 't's."
|
||||
"body": "It looks like you accidentally spelled 'commit' with two 't's."
|
||||
},
|
||||
"comment": {
|
||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments/99262140",
|
||||
|
||||
Reference in New Issue
Block a user