Adjust test expectations (#5494)
This commit is contained in:
@@ -305,6 +305,7 @@ describe('Enum', (): void => {
|
||||
'0x0134120000'
|
||||
).inspect()
|
||||
).toEqual({
|
||||
inner: undefined,
|
||||
outer: [new Uint8Array([0x01]), new Uint8Array([0x34, 0x12, 0x00, 0x00])]
|
||||
});
|
||||
});
|
||||
|
||||
@@ -200,6 +200,7 @@ describe('Option', (): void => {
|
||||
expect(
|
||||
new Option(registry, U32, '1234').inspect()
|
||||
).toEqual({
|
||||
inner: undefined,
|
||||
outer: [new Uint8Array([0x01]), new Uint8Array([210, 4, 0, 0])]
|
||||
});
|
||||
});
|
||||
|
||||
@@ -392,6 +392,7 @@ describe('Struct', (): void => {
|
||||
outer: [new Uint8Array([1 << 2]), new Uint8Array([0x99])]
|
||||
},
|
||||
{
|
||||
inner: undefined,
|
||||
name: 'bar',
|
||||
outer: [new Uint8Array([1]), new Uint8Array([1, 0, 0, 0])]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user