From 3aafaae88d19c3fc5f9f2dbd5de3001906903536 Mon Sep 17 00:00:00 2001 From: Feng Yu Date: Sat, 9 Jul 2022 20:00:09 +0800 Subject: [PATCH] test: use Object for `tests` variable in fs trace test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/43585 Reviewed-By: Michaël Zasso Reviewed-By: Luigi Pinca Reviewed-By: Antoine du Hamel Reviewed-By: LiviaMedeiros Reviewed-By: James M Snell Reviewed-By: Juan José Arboleda --- test/parallel/test-trace-events-fs-sync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-trace-events-fs-sync.js b/test/parallel/test-trace-events-fs-sync.js index b12694f4efa..14c6a122dd2 100644 --- a/test/parallel/test-trace-events-fs-sync.js +++ b/test/parallel/test-trace-events-fs-sync.js @@ -6,7 +6,7 @@ const fs = require('fs'); const path = require('path'); const util = require('util'); -const tests = new Array(); +const tests = Object.create(null); let gid = 1; let uid = 1;