Skip to content

Commit 258b313

Browse files
committed
comments
1 parent d950e3f commit 258b313

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/candid/src/idl.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,12 +717,12 @@ test('IDL opt variant decoding', () => {
717717
IDL.Record({a: IDL.Opt(IDL.Variant({ x: IDL.Null, y: IDL.Null }))}),
718718
{a: [{ x: null }]},
719719
'4449444c036c0161016e026b03787f797f7a7f01000100', // Motoko: {a = ?#x} : {a : ?{#x;#y;#z}}
720-
'extended variant under opt existing',
720+
'extended variant under opt expected tag',
721721
);
722722
testDecode(
723723
IDL.Record({a: IDL.Opt(IDL.Variant({ x: IDL.Null, y: IDL.Null }))}),
724724
{a: []},
725725
'4449444c036c0161016e026b03787f797f7a7f01000102', // Motoko: {a = ?#z} : {a : ?{#x;#y;#z}}
726-
'extended variant under opt new - defaulting',
726+
'extended variant under opt unexpected tag - defaulting',
727727
);
728728
});

0 commit comments

Comments
 (0)