Skip to content

Commit 0ebded4

Browse files
Sean KarsonMylesBorins
authored andcommitted
test: show incorrect value on test failure
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>
1 parent 2bbc76e commit 0ebded4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/async-hooks/test-promise.promise-before-init-hooks.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ hooks.enable();
1616
p.then(functionafterresolution(val){
1717
assert.strictEqual(val,5);
1818
constas=hooks.activitiesOfTypes('PROMISE');
19-
assert.strictEqual(as.length,1,'one activity');
19+
assert.strictEqual(as.length,1);
2020
checkInvocations(as[0],{init: 1,before: 1},
2121
'after resolution child promise');
2222
returnval;

0 commit comments

Comments
 (0)