Skip to content

Commit

Permalink
Merge branch 'tf/allow-abi-encoding-nested-structs' into tf/dedupe-st…
Browse files Browse the repository at this point in the history
…ructs-codegen
  • Loading branch information
TomAFrench authored Dec 19, 2023
2 parents 7e61b4e + fc37689 commit 93f65d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tooling/noirc_abi_wasm/test/browser/structs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ it('correctly handles struct inputs', async () => {
const struct_array_arg: MyStruct[] = inputs.struct_array_arg as MyStruct[];
const nested_struct_arg: MyNestedStruct = inputs.nested_struct_arg as MyNestedStruct;

expect(BigInt(decoded_inputs.inputs.struct_arg)).to.be.equal(BigInt(struct_arg.foo));
expect(BigInt(decoded_inputs.inputs.struct_arg.foo)).to.be.equal(BigInt(struct_arg.foo));
expect(BigInt(decoded_inputs.inputs.struct_array_arg[0].foo)).to.be.equal(BigInt(struct_array_arg[0].foo));
expect(BigInt(decoded_inputs.inputs.struct_array_arg[1].foo)).to.be.equal(BigInt(struct_array_arg[1].foo));
expect(BigInt(decoded_inputs.inputs.struct_array_arg[2].foo)).to.be.equal(BigInt(struct_array_arg[2].foo));
Expand Down

0 comments on commit 93f65d6

Please sign in to comment.