Merge pull request #1808 from TerryHowe/harden-blob-test
fix: blob test cores if no error
This commit is contained in:
commit
8f77ed4981
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue