diff options
author | Jesse McCarthy <git_commits@jessemccarthy.net> | 2016-05-10 18:40:31 -0400 |
---|---|---|
committer | Robert Jefe Lindstaedt <robert.lindstaedt@gmail.com> | 2016-05-25 22:44:57 +0200 |
commit | c1ffb9ff9b827300d2fdcc7f1f9def81368f588e (patch) | |
tree | 2fa4fe415c29eee622e17cc17a8ccdfefef9cb67 /test | |
parent | 9cac8c894eb16195578311ab98bc4169fa38a3db (diff) | |
download | android-node-v8-c1ffb9ff9b827300d2fdcc7f1f9def81368f588e.tar.gz android-node-v8-c1ffb9ff9b827300d2fdcc7f1f9def81368f588e.tar.bz2 android-node-v8-c1ffb9ff9b827300d2fdcc7f1f9def81368f588e.zip |
tools: restore change of signatures to opts hashes
These signatures were originally converted to opts hashes in #3888. That
change was misinterpreted as the intrinsic cause of a test failure and
reverted in #6680.
PR-URL: https://github.com/nodejs/node/pull/6690
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Robert Jefe Lindstaedt <robert.lindstaedt@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/doctool/test-doctool-html.js | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/test/doctool/test-doctool-html.js b/test/doctool/test-doctool-html.js index a8476b7234..8e16403901 100644 --- a/test/doctool/test-doctool-html.js +++ b/test/doctool/test-doctool-html.js @@ -61,7 +61,14 @@ testData.forEach(function(item) { fs.readFile(item.file, 'utf8', common.mustCall(function(err, input) { assert.ifError(err); - html(input, 'foo', 'doc/template.html', + html( + { + input: input, + filename: 'foo', + template: 'doc/template.html', + nodeVersion: process.version, + }, + common.mustCall(function(err, output) { assert.ifError(err); @@ -69,6 +76,7 @@ testData.forEach(function(item) { // Assert that the input stripped of all whitespace contains the // expected list assert.notEqual(actual.indexOf(expected), -1); - })); + }) + ); })); }); |