Skip to content

Commit

Permalink
yalla
Browse files Browse the repository at this point in the history
  • Loading branch information
ItamarYuran committed Dec 26, 2024
1 parent 6f2431a commit 047bd48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esti/s3_gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ func TestS3IfNoneMatch(t *testing.T) {
_, err := s3Client.PutObject(ctx, input, s3.WithAPIOptions(setHTTPHeaders(tc.IfNoneMatch)))

if tc.ExpectError {
require.Error(t, err, "was expecting an error")
require.Error(t, err, "was expecting an error with path %s and header %s", tc.Path, tc.IfNoneMatch)
} else {
require.NoError(t, err, "wasn't expecting error")
require.NoError(t, err, "wasn't expecting error with path %s and header %s", tc.Path, tc.IfNoneMatch)
}
}
}
Expand Down

0 comments on commit 047bd48

Please sign in to comment.