Adopt new pointerless Asset APIs in tests

This commit is contained in:
joeduffy 2017-07-17 17:58:22 -07:00
parent 5bf43743ab
commit e518f1ad86

View file

@ -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); }",
},
},
}