diff --git a/test/csharp/edge/test.ts b/test/csharp/edge/test.ts index cac449020e..d200b56558 100644 --- a/test/csharp/edge/test.ts +++ b/test/csharp/edge/test.ts @@ -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", () => {