mirror of
https://github.com/morluto/rea.git
synced 2026-10-27 01:45:32 +00:00
test(il2cpp): retain refusal for uncovered registration tails
This commit is contained in:
1 parent
dab18c1a3f
commit
0f07810f7a
1 file changed
+7
@@ -691,6 +691,13 @@ it.each([0, 8, 16])(
|
||||
expect(linked.types_field).toBe(FIXTURE_BINARY_BASE + 0xfc0n);
|
||||
expect(linked.method_addresses).toEqual(expectedAddresses);
|
||||
expect(linked.return_types).toEqual(link(original).return_types);
|
||||
if (tail === 0) {
|
||||
const missingTail = Buffer.from(bytes);
|
||||
missingTail.writeBigUInt64LE(BigInt(bytes.length), 64);
|
||||
expect(failure(missingTail).reason).toBe(
|
||||
"metadata-registration-not-found",
|
||||
);
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user