chore: fix typo

main
sudo pacman -Syu 2022-12-25 18:16:48 +07:00
parent 4b30c9671b
commit b32e762dee
2 changed files with 2 additions and 6 deletions

View File

@ -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

View File

@ -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