Skip to content

Commit

Permalink
Fix 'XAT001: missing ErrorCheck' errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Mar 20, 2021
1 parent d98f220 commit 2878bd8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws/resource_aws_appmesh_virtual_node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ func testAccAwsAppmeshVirtualNode_backendDefaultsCertificate(t *testing.T) {

resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t); testAccPartitionHasServicePreCheck(appmesh.EndpointsID, t) },
ErrorCheck: testAccErrorCheck(t, appmesh.EndpointsID),
Providers: testAccProviders,
CheckDestroy: testAccCheckAppmeshVirtualNodeDestroy,
Steps: []resource.TestStep{
Expand Down Expand Up @@ -1073,6 +1074,7 @@ func testAccAwsAppmeshVirtualNode_listenerValidation(t *testing.T) {

resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t); testAccPartitionHasServicePreCheck(appmesh.EndpointsID, t) },
ErrorCheck: testAccErrorCheck(t, appmesh.EndpointsID),
Providers: testAccProviders,
CheckDestroy: testAccCheckAppmeshVirtualNodeDestroy,
Steps: []resource.TestStep{
Expand Down

0 comments on commit 2878bd8

Please sign in to comment.