Skip to content

Commit

Permalink
chore: update jsii-srcmak
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt committed Aug 16, 2023
1 parent 865df77 commit aab046f
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions test/csharp/edge/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,24 +177,16 @@ describe("csharp full integration test synth", () => {
const item = stack.byId("from_map");

// Expands map references
expect(item.bool).toEqual(
'${lookup(map_resource.map.reqMap, "key1", false)}'
);
expect(item.bool).toEqual("${map_resource.map.reqMap.key1}");
expect(item.str).toEqual(
'${lookup(map_resource.map.optMap, "key1", "missing")}'
);
expect(item.num).toEqual(
'${lookup(map_resource.map.computedMap, "key1", 0)}'
);
expect(item.boolList).toEqual([
'${lookup(map_resource.map.reqMap, "key1", false)}',
]);
expect(item.num).toEqual("${map_resource.map.computedMap.key1}");
expect(item.boolList).toEqual(["${map_resource.map.reqMap.key1}"]);
expect(item.strList).toEqual([
'${lookup(map_resource.map.optMap, "key1", "missing")}',
]);
expect(item.numList).toEqual([
'${lookup(map_resource.map.computedMap, "key1", 0)}',
]);
expect(item.numList).toEqual(["${map_resource.map.computedMap.key1}"]);
});

it("item references a full map", () => {
Expand Down

0 comments on commit aab046f

Please sign in to comment.