From 047bd4878d69bfabd98f3cc93111849db3345e9d Mon Sep 17 00:00:00 2001 From: Itamar Yuran Date: Thu, 26 Dec 2024 10:33:17 +0100 Subject: [PATCH] yalla --- esti/s3_gateway_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esti/s3_gateway_test.go b/esti/s3_gateway_test.go index 63dcc95c149..b9cffcb3e0c 100644 --- a/esti/s3_gateway_test.go +++ b/esti/s3_gateway_test.go @@ -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) } } }