Merge pull request #12011 from hashicorp/f-fix-role-regexp

provider/aws: Fix matching regexp in invalid role config test
This commit is contained in:
Jake Champlin 2017-02-16 10:32:00 -05:00 committed by GitHub
commit 555c8bb723

View File

@ -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:.*`),
},
},
})