Skip to content

Commit

Permalink
Merge pull request hashicorp#12011 from hashicorp/f-fix-role-regexp
Browse files Browse the repository at this point in the history
provider/aws: Fix matching regexp in invalid role config test
  • Loading branch information
grubernaut authored Feb 16, 2017
2 parents 18bb3aa + c85a874 commit 555c8bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/providers/aws/resource_aws_iam_role_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func TestAccAWSRole_badJSON(t *testing.T) {
Steps: []resource.TestStep{
{
Config: testAccAWSRoleConfig_badJson,
ExpectError: regexp.MustCompile(`"assume_role_policy" contains an invalid JSON:.*`),
ExpectError: regexp.MustCompile(`.*contains an invalid JSON:.*`),
},
},
})
Expand Down

0 comments on commit 555c8bb

Please sign in to comment.