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 e5fe47f commit 21e0567
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 21e0567

Please sign in to comment.