Skip to content

Commit c0a5557

Browse files
linting
1 parent 9887ea7 commit c0a5557

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

utils/api/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func CallAndCheckSuccess[T any](ctx context.Context, errorContext string, apiCal
7878
}
7979

8080
if apiErr != nil {
81-
err = commonerrors.WrapError(commonerrors.ErrMarshalling, apiErr, "API call was successful but an error occured during response marshalling")
81+
err = commonerrors.WrapError(commonerrors.ErrMarshalling, apiErr, "API call was successful but an error occurred during response marshalling")
8282
return
8383
}
8484

utils/api/api_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func TestCallAndCheckSuccess(t *testing.T) {
112112
return &struct{}{}, &_http.Response{StatusCode: 200}, errors.New(errMessage)
113113
})
114114
errortest.AssertError(t, err, commonerrors.ErrMarshalling)
115-
errortest.AssertErrorDescription(t, err, "API call was successful but an error occured during response marshalling")
115+
errortest.AssertErrorDescription(t, err, "API call was successful but an error occurred during response marshalling")
116116
})
117117

118118
t.Run("api call successful, broken response decode", func(t *testing.T) {

0 commit comments

Comments
 (0)