diff --git a/lib/aws/provider/lambda/function_test.go b/lib/aws/provider/lambda/function_test.go index 965f1f3ca..0cb286876 100644 --- a/lib/aws/provider/lambda/function_test.go +++ b/lib/aws/provider/lambda/function_test.go @@ -40,9 +40,9 @@ func Test(t *testing.T) { sourceARN := rpc.ARN("arn:aws:s3:::elasticbeanstalk-us-east-1-111111111111") code := resource.Archive{ - Assets: &map[string]resource.Asset{ + Assets: map[string]resource.Asset{ "index.js": { - Text: aws.String("exports.handler = (ev, ctx, cb) => { console.log(ev); console.log(ctx); }"), + Text: "exports.handler = (ev, ctx, cb) => { console.log(ev); console.log(ctx); }", }, }, }