Adopt new pointerless Asset APIs in tests
This commit is contained in:
parent
5bf43743ab
commit
e518f1ad86
1 changed files with 2 additions and 2 deletions
|
@ -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); }",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue