Skip to content

Commit 93ff4ff

Browse files
HarshithaKPtargos
authored andcommitted
test: add a missing common.mustCall
PR-URL: #32305 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 30505d7 commit 93ff4ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
'use strict';
22

3-
require('../common');
3+
const common = require('../common');
44
const assert = require('assert');
55
const fs = require('fs');
66

77
for (let i = 0; i < 12; i++)
8-
fs.open(__filename, 'r', () => {});
8+
fs.open(__filename, 'r', common.mustCall());
99

1010
assert.strictEqual(process._getActiveRequests().length, 12);

0 commit comments

Comments
 (0)