Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
gomock: refactor directory name
Browse files Browse the repository at this point in the history
Rename directory to match default package output of gomock.
  • Loading branch information
poy committed Apr 26, 2019
1 parent 79d8603 commit 9378704
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gomock/matchers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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) {
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 9378704

Please # to comment.