diff options
author | cjihrig <cjihrig@gmail.com> | 2019-02-07 10:17:16 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-02-09 12:08:05 -0500 |
commit | 00366e2acfd2ea878d463adc13aab9f668d3a62e (patch) | |
tree | d48e74f14820cc9340a3d9983b7742f45ee61be1 /test/node-report/test-api.js | |
parent | 3681ddd96744e46f12e11e3d5154ab4070e7290c (diff) | |
download | android-node-v8-00366e2acfd2ea878d463adc13aab9f668d3a62e.tar.gz android-node-v8-00366e2acfd2ea878d463adc13aab9f668d3a62e.tar.bz2 android-node-v8-00366e2acfd2ea878d463adc13aab9f668d3a62e.zip |
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 <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'test/node-report/test-api.js')
-rw-r--r-- | test/node-report/test-api.js | 4 |
1 files changed, 1 insertions, 3 deletions
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); })); } |