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.
1 parent 32967c3 commit 9c8d8c9Copy full SHA for 9c8d8c9
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