Skip to content

Commit

Permalink
tests/resource/aws_vpn_connection: Add nosemgrep comment for errant s…
Browse files Browse the repository at this point in the history
…ituation
  • Loading branch information
bflad committed Apr 23, 2021
1 parent 83256e0 commit e0ad75b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_vpn_connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ func TestXmlConfigToTunnelInfo(t *testing.T) {
t.Fatalf("expected no error, got: %s", err)
}

if actual, expected := *tunnelInfo, testCase.ExpectTunnelInfo; !reflect.DeepEqual(actual, expected) {
if actual, expected := *tunnelInfo, testCase.ExpectTunnelInfo; !reflect.DeepEqual(actual, expected) { // nosemgrep: prefer-aws-go-sdk-pointer-conversion-assignment
t.Errorf("expected TunnelInfo:\n%+v\n\ngot:\n%+v\n\n", expected, actual)
}
})
Expand Down

0 comments on commit e0ad75b

Please sign in to comment.