Skip to content

Commit

Permalink
Adds unit test from #17359
Browse files Browse the repository at this point in the history
  • Loading branch information
gdavison committed Feb 11, 2021
1 parent 03bfc2c commit 7424bc1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions aws/resource_aws_lambda_function_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3093,3 +3093,9 @@ resource "aws_lambda_function" "test" {
}
`, rName, runtime))
}

func TestFlattenLambdaImageConfigShouldNotFailWithEmptyImageConfig(t *testing.T) {
t.Parallel()
response := lambda.ImageConfigResponse{}
flattenLambdaImageConfig(&response)
}

0 comments on commit 7424bc1

Please sign in to comment.