diff options
author | Matheus Marchini <mmarchini@netflix.com> | 2020-01-16 13:56:04 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-01-18 15:43:00 -0800 |
commit | b3189266347fa05395860f9f6e8949e447977284 (patch) | |
tree | f18c30767635aec9d14c830945f4c8ef88a320c0 /test/v8-updates | |
parent | 7864c53629b11d69746a4fc1f041900eeb358d31 (diff) | |
download | node-new-b3189266347fa05395860f9f6e8949e447977284.tar.gz |
test: update postmortem test with v12 constants
Ref: https://github.com/nodejs/llnode/pull/330
PR-URL: https://github.com/nodejs/node/pull/31391
Refs: https://github.com/nodejs/llnode/pull/330
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/v8-updates')
-rw-r--r-- | test/v8-updates/test-postmortem-metadata.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/v8-updates/test-postmortem-metadata.js b/test/v8-updates/test-postmortem-metadata.js index 79520f9f4b..cc269c3405 100644 --- a/test/v8-updates/test-postmortem-metadata.js +++ b/test/v8-updates/test-postmortem-metadata.js @@ -48,7 +48,8 @@ const missing = getExpectedSymbols().filter((symbol) => { return !symbols.includes(symbol); }); -assert.strictEqual(missing.length, 0, `Missing constants: ${missing}`); +assert.strictEqual(missing.length, 0, + `Missing constants: \n${missing.join('\n')}`); // This is only a function so that the long list of expected symbols can be // pushed to the bottom of the file for improved readability. @@ -58,6 +59,7 @@ function getExpectedSymbols() { // should only consist of postmortem constants, and some of them can be // relatively long. /* eslint-disable max-len */ + 'v8dbg_class_DescriptorArray__header_size__uintptr_t', 'v8dbg_bit_field3_is_dictionary_map_shift', 'v8dbg_bit_field3_number_of_own_descriptors_shift', 'v8dbg_class_Code__instruction_size__int', |