From 75d0ddfc000725e1fd8007154420244a2bb303fb Mon Sep 17 00:00:00 2001 From: Suhas Karanth Date: Mon, 6 Jan 2020 18:41:00 +0530 Subject: [PATCH] Run go generate (#119) Minor changes to generated test file because of #110. --- pkg/moq/testpackages/dotimport/service_moq_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/moq/testpackages/dotimport/service_moq_test.go b/pkg/moq/testpackages/dotimport/service_moq_test.go index f5d23a7..a5d2a34 100755 --- a/pkg/moq/testpackages/dotimport/service_moq_test.go +++ b/pkg/moq/testpackages/dotimport/service_moq_test.go @@ -12,22 +12,22 @@ var ( lockServiceMockUser sync.RWMutex ) -// Ensure, that ServiceMock does implement Service. +// Ensure, that ServiceMock does implement dotimport.Service. // If this is not the case, regenerate this file with moq. var _ dotimport.Service = &ServiceMock{} -// ServiceMock is a mock implementation of Service. +// ServiceMock is a mock implementation of dotimport.Service. // // func TestSomethingThatUsesService(t *testing.T) { // -// // make and configure a mocked Service +// // make and configure a mocked dotimport.Service // mockedService := &ServiceMock{ // UserFunc: func(ID string) (dotimport.User, error) { // panic("mock out the User method") // }, // } // -// // use mockedService in code that requires Service +// // use mockedService in code that requires dotimport.Service // // and then make assertions. // // }