Skip to content

Commit 6256d0a

Browse files
mmarchinicodebytere
authored andcommittedFeb 17, 2020
test: update postmortem test with v12 constants
Ref: nodejs/llnode#330 PR-URL: #31391 Refs: nodejs/llnode#330 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 32ac1be commit 6256d0a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ 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,
52+
`Missing constants: \n${missing.join('\n')}`);
5253

5354
// This is only a function so that the long list of expected symbols can be
5455
// pushed to the bottom of the file for improved readability.
@@ -58,6 +59,7 @@ function getExpectedSymbols() {
5859
// should only consist of postmortem constants, and some of them can be
5960
// relatively long.
6061
/* eslint-disable max-len */
62+
'v8dbg_class_DescriptorArray__header_size__uintptr_t',
6163
'v8dbg_bit_field3_is_dictionary_map_shift',
6264
'v8dbg_bit_field3_number_of_own_descriptors_shift',
6365
'v8dbg_class_Code__instruction_size__int',

0 commit comments

Comments
 (0)