Skip to content

Commit 8083d45

Browse files
HarshithaKPtargos
authored andcommittedApr 22, 2020
test: add a missing common.mustCall
PR-URL: #32305 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent 4165312 commit 8083d45

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)
Please sign in to comment.