Skip to content

Commit

Permalink
test: show incorrect value on test failure
Browse files Browse the repository at this point in the history
PR-URL: #16818
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Khaidi Chu <i@2333.moe>
  • Loading branch information
Sean Karson authored and MylesBorins committed Nov 16, 2017
1 parent 2bbc76e commit 0ebded4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/async-hooks/test-promise.promise-before-init-hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ hooks.enable();
p.then(function afterresolution(val) {
assert.strictEqual(val, 5);
const as = hooks.activitiesOfTypes('PROMISE');
assert.strictEqual(as.length, 1, 'one activity');
assert.strictEqual(as.length, 1);
checkInvocations(as[0], { init: 1, before: 1 },
'after resolution child promise');
return val;
Expand Down

0 comments on commit 0ebded4

Please sign in to comment.