File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -281,11 +281,11 @@ func TestBlobClientContainerSASKey_BucketExists(t *testing.T) {
281
281
g .Expect (err ).ToNot (HaveOccurred ())
282
282
g .Expect (ok ).To (BeTrue ())
283
283
284
- // BucketExists returns a good error message if the bucket doesn't exist with container level SAS
284
+ // BucketExists returns an error if the bucket doesn't exist with container level SAS
285
285
// since the error code is AuthenticationFailed.
286
286
ok , err = sasKeyClient .BucketExists (ctx , "non-existent" )
287
287
g .Expect (err ).To (HaveOccurred ())
288
- g .Expect (err .Error ()).To (ContainSubstring ("Bucket might not exist" ))
288
+ g .Expect (err .Error ()).To (ContainSubstring ("Bucket name may be incorrect, it does not exist" ))
289
289
g .Expect (ok ).To (BeFalse ())
290
290
}
291
291
You can’t perform that action at this time.
0 commit comments