From e518f1ad865b60e234da42efee037d45c21dd5ba Mon Sep 17 00:00:00 2001 From: joeduffy Date: Mon, 17 Jul 2017 17:58:22 -0700 Subject: [PATCH] Adopt new pointerless Asset APIs in tests --- lib/aws/provider/lambda/function_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }", }, }, }