From 22c56e42e6f83af494813b658d6e3f683b3ae5d2 Mon Sep 17 00:00:00 2001 From: "monada-bot[bot]" Date: Thu, 28 Mar 2024 10:00:57 +0000 Subject: [PATCH] chore: self mutation (e2e-1of2.diff) Signed-off-by: monada-bot[bot] --- .../test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md index a1b214442a6..513d5aadfe2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_compile_tf-aws.md @@ -99,6 +99,8 @@ class $Root extends $stdlib.std.Resource { $helpers.assert($helpers.eq((jsiiClass.applyClosure(5, ((x) => { return (x * 2); }))), 10), "jsiiClass.applyClosure(5, (x) => { return x * 2; }) == 10"); + const jsiiStruct = ({"field": "struct field"}); + $helpers.assert($helpers.eq((jsiiClass.methodWithStructParam(jsiiStruct)), "struct field"), "jsiiClass.methodWithStructParam(jsiiStruct) == \"struct field\""); } } const $PlatformManager = new $stdlib.platform.PlatformManager({platformPaths: $platforms});