From cf6eeb7e15b28795d7c06eff0a6ae6e6cf9e6af0 Mon Sep 17 00:00:00 2001 From: Matheus Marchini Date: Thu, 16 Jan 2020 13:56:04 -0800 Subject: [PATCH] test: update postmortem test with v12 constants Ref: https://github.com/nodejs/llnode/pull/330 --- test/v8-updates/test-postmortem-metadata.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/v8-updates/test-postmortem-metadata.js b/test/v8-updates/test-postmortem-metadata.js index 79520f9f4bf802..8d8262bc90e26b 100644 --- a/test/v8-updates/test-postmortem-metadata.js +++ b/test/v8-updates/test-postmortem-metadata.js @@ -48,7 +48,7 @@ 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 +58,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',