Skip to content

Commit cf6eeb7

Browse files
committed
test: update postmortem test with v12 constants
Ref: nodejs/llnode#330
1 parent 25dfcb5 commit cf6eeb7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/v8-updates/test-postmortem-metadata.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const missing = getExpectedSymbols().filter((symbol) => {
4848
return !symbols.includes(symbol);
4949
});
5050

51-
assert.strictEqual(missing.length, 0, `Missing constants: ${missing}`);
51+
assert.strictEqual(missing.length, 0, `Missing constants: \n${missing.join('\n')}`);
5252

5353
// This is only a function so that the long list of expected symbols can be
5454
// pushed to the bottom of the file for improved readability.
@@ -58,6 +58,7 @@ function getExpectedSymbols() {
5858
// should only consist of postmortem constants, and some of them can be
5959
// relatively long.
6060
/* eslint-disable max-len */
61+
'v8dbg_class_DescriptorArray__header_size__uintptr_t',
6162
'v8dbg_bit_field3_is_dictionary_map_shift',
6263
'v8dbg_bit_field3_number_of_own_descriptors_shift',
6364
'v8dbg_class_Code__instruction_size__int',

0 commit comments

Comments
 (0)