Skip to content

Commit c4d88b3

Browse files
F3n67utargos
authored andcommitted
test: use Object for tests variable in fs trace test
PR-URL: #43585 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
1 parent 4e6a844 commit c4d88b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-trace-events-fs-sync.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const fs = require('fs');
66
const path = require('path');
77
const util = require('util');
88

9-
const tests = new Array();
9+
const tests = Object.create(null);
1010

1111
let gid = 1;
1212
let uid = 1;

0 commit comments

Comments
 (0)