diff --git a/gomock/internal/mock_matcher/mock_matcher.go b/gomock/internal/mock_gomock/mock_matcher.go similarity index 100% rename from gomock/internal/mock_matcher/mock_matcher.go rename to gomock/internal/mock_gomock/mock_matcher.go diff --git a/gomock/matchers_test.go b/gomock/matchers_test.go index db1411eb..8bb87f75 100644 --- a/gomock/matchers_test.go +++ b/gomock/matchers_test.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:generate mockgen -destination internal/mock_matcher/mock_matcher.go github.com/golang/mock/gomock Matcher +//go:generate mockgen -destination internal/mock_gomock/mock_matcher.go github.com/golang/mock/gomock Matcher package gomock_test @@ -21,7 +21,7 @@ import ( "testing" "github.com/golang/mock/gomock" - mock_matcher "github.com/golang/mock/gomock/internal/mock_matcher" + "github.com/golang/mock/gomock/internal/mock_gomock" ) func TestMatchers(t *testing.T) { @@ -57,7 +57,7 @@ func TestNotMatcher(t *testing.T) { ctrl := gomock.NewController(t) defer ctrl.Finish() - mockMatcher := mock_matcher.NewMockMatcher(ctrl) + mockMatcher := mock_gomock.NewMockMatcher(ctrl) notMatcher := gomock.Not(mockMatcher) mockMatcher.EXPECT().Matches(4).Return(true)