Created
August 29, 2017 19:16
-
-
Save nyarly/edb6b7a5e3a762da6a5e2da8f59acf07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
util/docker_registry/dummy_client.go:80: | |
cannot use func literal (type | |
func("github.com/opentable/sous/vendor/github.com/stretchr/testify/mock".Arguments) bool | |
) as type | |
func( "github.com/stretchr/testify/mock".Arguments) bool | |
in argument to drc.Spy.MatchMethod | |
My spies package (github.com/nyarly/spies) leverages testify/mock, because the interfaces are similar. | |
Because I'm using my local copy of `spies` and also have vendored testify/mock, I get this conflict. | |
The solution is to vendor my spies package, which is inconvenient when trying to develop the support package in tandem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment