From 9c8d8c95e2a594216fd2cb14d0cfb4a2e1881558 Mon Sep 17 00:00:00 2001 From: Terry Howe Date: Mon, 30 Jun 2025 05:57:55 -0600 Subject: [PATCH] fix: blob test cores if no error Co-authored-by: Matheus Pimenta Signed-off-by: Terry Howe --- pkg/azure/blob_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/azure/blob_test.go b/pkg/azure/blob_test.go index 6c77cd13..ce85b9c3 100644 --- a/pkg/azure/blob_test.go +++ b/pkg/azure/blob_test.go @@ -115,7 +115,7 @@ func TestNewClientAndBucketExistsWithProxy(t *testing.T) { ok, err := client.BucketExists(context.Background(), "podinfo") if tt.err != "" { - g.Expect(err.Error()).To(ContainSubstring(tt.err)) + g.Expect(err).To(MatchError(ContainSubstring(tt.err))) g.Expect(ok).To(BeFalse()) } else { g.Expect(err).ToNot(HaveOccurred())