chore: fix typo
parent
4b30c9671b
commit
b32e762dee
|
@ -6,9 +6,8 @@
|
|||
verifyService VerifyService
|
||||
}
|
||||
|
||||
|
||||
func (s *service) Upload(ctx context.Context, req Request) error {
|
||||
// I simplify by omitting the response, only care error fow now
|
||||
// I simplify by omitting the response, only care error for now
|
||||
if err := s.verifyService.Verify(req); err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -48,7 +47,6 @@ func (s *ServiceSuite) SetupTest() {
|
|||
// Init service
|
||||
}
|
||||
|
||||
|
||||
func (s *ServiceSuite) TestUpload() {
|
||||
tests := []struct{
|
||||
name string
|
||||
|
|
|
@ -49,9 +49,8 @@ type service struct {
|
|||
verifyService VerifyService
|
||||
}
|
||||
|
||||
|
||||
func (s *service) Upload(ctx context.Context, req Request) error {
|
||||
// I simplify by omitting the response, only care error fow now
|
||||
// I simplify by omitting the response, only care error for now
|
||||
if err := s.verifyService.Verify(req); err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -96,7 +95,6 @@ func (s *ServiceSuite) SetupTest() {
|
|||
// Init service
|
||||
}
|
||||
|
||||
|
||||
func (s *ServiceSuite) TestUpload() {
|
||||
tests := []struct{
|
||||
name string
|
||||
|
|
Loading…
Reference in New Issue