We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 32967c3 + 9c8d8c9 commit 8f77ed4Copy full SHA for 8f77ed4
pkg/azure/blob_test.go
@@ -115,7 +115,7 @@ func TestNewClientAndBucketExistsWithProxy(t *testing.T) {
115
116
ok, err := client.BucketExists(context.Background(), "podinfo")
117
if tt.err != "" {
118
- g.Expect(err.Error()).To(ContainSubstring(tt.err))
+ g.Expect(err).To(MatchError(ContainSubstring(tt.err)))
119
g.Expect(ok).To(BeFalse())
120
} else {
121
g.Expect(err).ToNot(HaveOccurred())
0 commit comments