Skip to content

Commit

Permalink
remove extra space from error message (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
nopcoder committed Oct 15, 2020
1 parent 89b8b7d commit 1270083
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gateway/operations/mock_adapter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ func (a *mockAdapter) GetProperties(_ block.ObjectPointer) (block.Properties, er
}

func (a *mockAdapter) Remove(_ block.ObjectPointer) error {
return errors.New(" remove method not implemented in mock adapter")
return errors.New("remove method not implemented in mock adapter")
}
func (a *mockAdapter) Copy(_, _ block.ObjectPointer) error {
return errors.New(" copy method not implemented in mock adapter")
return errors.New("copy method not implemented in mock adapter")
}
func (a *mockAdapter) CreateMultiPartUpload(_ block.ObjectPointer, r *http.Request, _ block.CreateMultiPartUploadOpts) (string, error) {
panic("try to create multipart in mock adaptor")
Expand Down

0 comments on commit 1270083

Please sign in to comment.