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

Commit 9378704

Browse files
committed
gomock: refactor directory name
Rename directory to match default package output of gomock.
1 parent 79d8603 commit 9378704

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gomock/matchers_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
//go:generate mockgen -destination internal/mock_matcher/mock_matcher.go github.com/golang/mock/gomock Matcher
15+
//go:generate mockgen -destination internal/mock_gomock/mock_matcher.go github.com/golang/mock/gomock Matcher
1616

1717
package gomock_test
1818

@@ -21,7 +21,7 @@ import (
2121
"testing"
2222

2323
"github.com/golang/mock/gomock"
24-
mock_matcher "github.com/golang/mock/gomock/internal/mock_matcher"
24+
"github.com/golang/mock/gomock/internal/mock_gomock"
2525
)
2626

2727
func TestMatchers(t *testing.T) {
@@ -57,7 +57,7 @@ func TestNotMatcher(t *testing.T) {
5757
ctrl := gomock.NewController(t)
5858
defer ctrl.Finish()
5959

60-
mockMatcher := mock_matcher.NewMockMatcher(ctrl)
60+
mockMatcher := mock_gomock.NewMockMatcher(ctrl)
6161
notMatcher := gomock.Not(mockMatcher)
6262

6363
mockMatcher.EXPECT().Matches(4).Return(true)

0 commit comments

Comments
 (0)