golang / mock

GoMock is a mocking framework for the Go programming language.
Apache License 2.0
9.3k stars 610 forks source link

fix Test_createPackageMap for 1.15 #512

Closed codyoss closed 3 years ago

codyoss commented 3 years ago

In Go 1.15 go list will return an error if any of the packages passed to it are not valid. This differs from pervious behavior where all of the successful results would be returned. In practice this should not be an issue as code should contain resolvable import paths, but this made the test fail.

codyoss commented 3 years ago

Merging to get things back to green to unblock other PRs.