Skip to content

Commit 93f65d6

Browse files
authored
Merge branch 'tf/allow-abi-encoding-nested-structs' into tf/dedupe-structs-codegen
2 parents 7e61b4e + fc37689 commit 93f65d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tooling/noirc_abi_wasm/test/browser/structs.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ it('correctly handles struct inputs', async () => {
1717
const struct_array_arg: MyStruct[] = inputs.struct_array_arg as MyStruct[];
1818
const nested_struct_arg: MyNestedStruct = inputs.nested_struct_arg as MyNestedStruct;
1919

20-
expect(BigInt(decoded_inputs.inputs.struct_arg)).to.be.equal(BigInt(struct_arg.foo));
20+
expect(BigInt(decoded_inputs.inputs.struct_arg.foo)).to.be.equal(BigInt(struct_arg.foo));
2121
expect(BigInt(decoded_inputs.inputs.struct_array_arg[0].foo)).to.be.equal(BigInt(struct_array_arg[0].foo));
2222
expect(BigInt(decoded_inputs.inputs.struct_array_arg[1].foo)).to.be.equal(BigInt(struct_array_arg[1].foo));
2323
expect(BigInt(decoded_inputs.inputs.struct_array_arg[2].foo)).to.be.equal(BigInt(struct_array_arg[2].foo));

0 commit comments

Comments
 (0)