Merge pull request #1808 from TerryHowe/harden-blob-test

fix: blob test cores if no error
This commit is contained in:
Matheus Pimenta 2025-07-01 14:34:26 +01:00 committed by GitHub
commit 8f77ed4981
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ func TestNewClientAndBucketExistsWithProxy(t *testing.T) {
ok, err := client.BucketExists(context.Background(), "podinfo") ok, err := client.BucketExists(context.Background(), "podinfo")
if tt.err != "" { if tt.err != "" {
g.Expect(err.Error()).To(ContainSubstring(tt.err)) g.Expect(err).To(MatchError(ContainSubstring(tt.err)))
g.Expect(ok).To(BeFalse()) g.Expect(ok).To(BeFalse())
} else { } else {
g.Expect(err).ToNot(HaveOccurred()) g.Expect(err).ToNot(HaveOccurred())