Skip to content

Commit

Permalink
fixup! test: better error message in trace events test
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed May 13, 2018
1 parent 2480dcb commit 051ea50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-trace-events-async-hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ proc.once('exit', common.mustCall(() => {
const initEvents = traces.filter((trace) => {
return (trace.ph === 'b' && !trace.name.includes('_CALLBACK'));
});
assert(initEvents.every((trace) => {
assert.ok(initEvents.every((trace) => {
return (trace.args.executionAsyncId > 0 &&
trace.args.triggerAsyncId > 0);
}), `Unexpected initEvents format: ${util.inspect(initEvents)}`);
Expand Down

0 comments on commit 051ea50

Please sign in to comment.