From 93ff4ffca9783f37d59555758694193facdefa57 Mon Sep 17 00:00:00 2001 From: Harshitha KP Date: Mon, 16 Mar 2020 12:28:54 -0400 Subject: [PATCH] test: add a missing common.mustCall PR-URL: https://github.com/nodejs/node/pull/32305 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Rich Trott Reviewed-By: Trivikram Kamat --- test/parallel/test-process-getactiverequests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-process-getactiverequests.js b/test/parallel/test-process-getactiverequests.js index 41883d35aa7dbc..ed3c0c8fe861ec 100644 --- a/test/parallel/test-process-getactiverequests.js +++ b/test/parallel/test-process-getactiverequests.js @@ -1,10 +1,10 @@ 'use strict'; -require('../common'); +const common = require('../common'); const assert = require('assert'); const fs = require('fs'); for (let i = 0; i < 12; i++) - fs.open(__filename, 'r', () => {}); + fs.open(__filename, 'r', common.mustCall()); assert.strictEqual(process._getActiveRequests().length, 12);