From be8fda11cb30af3e4916c43c6591ed9cfd3c523d Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Sun, 5 Nov 2023 16:58:19 -0800 Subject: [PATCH] test: adapt test-v8-stats for V8 update https://github.com/nodejs/node/pull/45230 --- ...rusted_space_and_trusted_lo_space_to_the_v8_heap.patch | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/patches/node/fix_add_trusted_space_and_trusted_lo_space_to_the_v8_heap.patch b/patches/node/fix_add_trusted_space_and_trusted_lo_space_to_the_v8_heap.patch index d083648dccde7..311a90be6de17 100644 --- a/patches/node/fix_add_trusted_space_and_trusted_lo_space_to_the_v8_heap.patch +++ b/patches/node/fix_add_trusted_space_and_trusted_lo_space_to_the_v8_heap.patch @@ -9,15 +9,13 @@ This patch can be removed when Node.js upgrades to a version of V8 that includes this change. diff --git a/test/parallel/test-v8-stats.js b/test/parallel/test-v8-stats.js -index 83b375bd3c5b5dbd5189d48ad560580883ac91f6..2366cbf716c11851bb3a759dce5db47d616516dc 100644 +index dd774267910aa0920ed077dd5bd5cfed93aab6cb..2366cbf716c11851bb3a759dce5db47d616516dc 100644 --- a/test/parallel/test-v8-stats.js +++ b/test/parallel/test-v8-stats.js -@@ -47,7 +47,9 @@ const expectedHeapSpaces = [ - 'old_space', +@@ -48,6 +48,8 @@ const expectedHeapSpaces = [ 'read_only_space', 'shared_large_object_space', -- 'shared_space' -+ 'shared_space', + 'shared_space', + 'trusted_large_object_space', + 'trusted_space' ];