diff --git a/test/parallel/test-v8-stats.js b/test/parallel/test-v8-stats.js index 4bebf37c0553e3..83b515d3fd56ec 100644 --- a/test/parallel/test-v8-stats.js +++ b/test/parallel/test-v8-stats.js @@ -21,12 +21,13 @@ keys.forEach(function(key) { const expectedHeapSpaces = [ - 'new_space', - 'old_space', + 'code_large_object_space', 'code_space', + 'large_object_space', 'map_space', 'new_large_object_space', - 'large_object_space', + 'new_space', + 'old_space', 'read_only_space' ]; const heapSpaceStatistics = v8.getHeapSpaceStatistics();