mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-28 22:28:25 +00:00
* Update go-generate to run as a script It was taking forever to run via the previous Makefile command. I don't exactly know why. Perhaps because it was passing all the packages in as multiple arguments? Either way, this change allows it to actually run through in about 20 minutes. * Regenerate all mocks using latest pegomock Pegomock version v2.9.0 * Format mocks outside of regular mocks directory. These mocks are outside of the regular directory due to an import cycle causing us to have to have these not under a /mocks directory so they need to be formatted since they're not excluded. * Add back make test target
34 lines
943 B
Go
34 lines
943 B
Go
// Code generated by pegomock. DO NOT EDIT.
|
|
package matchers
|
|
|
|
import (
|
|
"github.com/petergtz/pegomock"
|
|
"reflect"
|
|
|
|
github "github.com/google/go-github/v31/github"
|
|
)
|
|
|
|
func AnyPtrToGithubRepository() *github.Repository {
|
|
pegomock.RegisterMatcher(pegomock.NewAnyMatcher(reflect.TypeOf((*(*github.Repository))(nil)).Elem()))
|
|
var nullValue *github.Repository
|
|
return nullValue
|
|
}
|
|
|
|
func EqPtrToGithubRepository(value *github.Repository) *github.Repository {
|
|
pegomock.RegisterMatcher(&pegomock.EqMatcher{Value: value})
|
|
var nullValue *github.Repository
|
|
return nullValue
|
|
}
|
|
|
|
func NotEqPtrToGithubRepository(value *github.Repository) *github.Repository {
|
|
pegomock.RegisterMatcher(&pegomock.NotEqMatcher{Value: value})
|
|
var nullValue *github.Repository
|
|
return nullValue
|
|
}
|
|
|
|
func PtrToGithubRepositoryThat(matcher pegomock.ArgumentMatcher) *github.Repository {
|
|
pegomock.RegisterMatcher(matcher)
|
|
var nullValue *github.Repository
|
|
return nullValue
|
|
}
|