Skip to content

Commit

Permalink
test: fix azure TestAuthRelatedStatusCodes test
Browse files Browse the repository at this point in the history
  • Loading branch information
hpidcock committed Jul 23, 2024
1 parent b9489dd commit bf5a37b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/azure/internal/errorutils/errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (s *ErrorSuite) TestAuthRelatedStatusCodes(c *gc.C) {
ctx := context.NewEmptyCloudCallContext()
called := false
ctx.InvalidateCredentialFunc = func(msg string) error {
c.Assert(msg, gc.Matches, "azure cloud denied access: .*")
c.Assert(msg, gc.Matches, "(?m)azure cloud denied access: .*")
called = true
return nil
}
Expand Down

0 comments on commit bf5a37b

Please sign in to comment.