mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-06 09:08:35 +00:00
* disable pegomock --use-experimental-model-gen, cause random fail by segv * make regen-mocks * fix mock code which uses non experimental pegomock codes
34 lines
1.0 KiB
Go
34 lines
1.0 KiB
Go
// Code generated by pegomock. DO NOT EDIT.
|
|
package matchers
|
|
|
|
import (
|
|
"github.com/petergtz/pegomock"
|
|
"reflect"
|
|
|
|
github "github.com/google/go-github/v48/github"
|
|
)
|
|
|
|
func AnyPtrToGithubIssueCommentEvent() *github.IssueCommentEvent {
|
|
pegomock.RegisterMatcher(pegomock.NewAnyMatcher(reflect.TypeOf((*(*github.IssueCommentEvent))(nil)).Elem()))
|
|
var nullValue *github.IssueCommentEvent
|
|
return nullValue
|
|
}
|
|
|
|
func EqPtrToGithubIssueCommentEvent(value *github.IssueCommentEvent) *github.IssueCommentEvent {
|
|
pegomock.RegisterMatcher(&pegomock.EqMatcher{Value: value})
|
|
var nullValue *github.IssueCommentEvent
|
|
return nullValue
|
|
}
|
|
|
|
func NotEqPtrToGithubIssueCommentEvent(value *github.IssueCommentEvent) *github.IssueCommentEvent {
|
|
pegomock.RegisterMatcher(&pegomock.NotEqMatcher{Value: value})
|
|
var nullValue *github.IssueCommentEvent
|
|
return nullValue
|
|
}
|
|
|
|
func PtrToGithubIssueCommentEventThat(matcher pegomock.ArgumentMatcher) *github.IssueCommentEvent {
|
|
pegomock.RegisterMatcher(matcher)
|
|
var nullValue *github.IssueCommentEvent
|
|
return nullValue
|
|
}
|