mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-06 15:28:39 +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
958 B
Go
34 lines
958 B
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 AnyPtrToGithubPullRequest() *github.PullRequest {
|
|
pegomock.RegisterMatcher(pegomock.NewAnyMatcher(reflect.TypeOf((*(*github.PullRequest))(nil)).Elem()))
|
|
var nullValue *github.PullRequest
|
|
return nullValue
|
|
}
|
|
|
|
func EqPtrToGithubPullRequest(value *github.PullRequest) *github.PullRequest {
|
|
pegomock.RegisterMatcher(&pegomock.EqMatcher{Value: value})
|
|
var nullValue *github.PullRequest
|
|
return nullValue
|
|
}
|
|
|
|
func NotEqPtrToGithubPullRequest(value *github.PullRequest) *github.PullRequest {
|
|
pegomock.RegisterMatcher(&pegomock.NotEqMatcher{Value: value})
|
|
var nullValue *github.PullRequest
|
|
return nullValue
|
|
}
|
|
|
|
func PtrToGithubPullRequestThat(matcher pegomock.ArgumentMatcher) *github.PullRequest {
|
|
pegomock.RegisterMatcher(matcher)
|
|
var nullValue *github.PullRequest
|
|
return nullValue
|
|
}
|