From 00366e2acfd2ea878d463adc13aab9f668d3a62e Mon Sep 17 00:00:00 2001 From: cjihrig Date: Thu, 7 Feb 2019 10:17:16 -0500 Subject: test: remove extraneous report validation argument The second argument passed to validate() and validateContent() is not used for anything. PR-URL: https://github.com/nodejs/node/pull/25986 Reviewed-By: Anna Henningsen Reviewed-By: Richard Lau Reviewed-By: Luigi Pinca --- test/node-report/test-api.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/node-report/test-api.js') diff --git a/test/node-report/test-api.js b/test/node-report/test-api.js index 9ffa66bb40..232fa1581f 100644 --- a/test/node-report/test-api.js +++ b/test/node-report/test-api.js @@ -22,8 +22,6 @@ if (process.argv[2] === 'child') { const reports = helper.findReports(child.pid, tmpdir.path); assert.strictEqual(reports.length, 1, report_msg); const report = reports[0]; - helper.validate(report, { pid: child.pid, - commandline: child.spawnargs.join(' ') - }); + helper.validate(report); })); } -- cgit v1.2.3