Skip to content

Commit 6f25ce2

Browse files
committed
chore: tidy test comments
1 parent f4cc072 commit 6f25ce2

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

internal/service/iam/role_test.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,8 +1006,6 @@ func TestAccIAMRole_Identity_ExistingResource_NoRefresh(t *testing.T) {
10061006
Check: resource.ComposeAggregateTestCheckFunc(
10071007
testAccCheckRoleExists(ctx, resourceName, &conf),
10081008
),
1009-
// No error indicates the identity interceptor properly identified
1010-
// a fully null identity on update and set values appropriately.
10111009
},
10121010
},
10131011
})
@@ -1044,9 +1042,7 @@ func TestAccIAMRole_Identity_ExistingResource_NoRefreshFailure(t *testing.T) {
10441042
{
10451043
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories,
10461044
Config: testAccRoleConfig_invalidAssumeRolePolicy(rName),
1047-
// Caution: Finding this error, which should be found, hides MRIAU
1048-
// (Missing Resource Identity After Update) errors.
1049-
ExpectError: regexache.MustCompile(`MalformedPolicyDocument: Unknown field invalid`),
1045+
ExpectError: regexache.MustCompile(`MalformedPolicyDocument: Unknown field invalid`),
10501046
},
10511047
},
10521048
})

internal/service/s3/object_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2153,8 +2153,6 @@ func TestAccS3Object_Identity_ExistingResource_NoRefresh(t *testing.T) {
21532153
Check: resource.ComposeAggregateTestCheckFunc(
21542154
testAccCheckObjectExists(ctx, resourceName, &obj),
21552155
),
2156-
// We DON'T want this error.
2157-
// ExpectError: regexache.MustCompile(`Missing Resource Identity After Update`),
21582156
},
21592157
},
21602158
})

0 commit comments

Comments
 (0)