From c4d88b3345cd59d6479acef17307924d870f7e53 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 b12694f4efa607..14c6a122dd299f 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;