diff options
author | Rich Trott <rtrott@gmail.com> | 2019-04-19 15:06:23 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-05-04 21:19:19 -0700 |
commit | 11e1e0050b548c2b815d40dfa0cfbaf63289ae62 (patch) | |
tree | 481f58e1cb612d0967bafa88c25d6b99982fd287 /src/inspector_agent.h | |
parent | 8fd949e626fa61e1539f0c1f7391359d8958b99f (diff) | |
download | node-new-11e1e0050b548c2b815d40dfa0cfbaf63289ae62.tar.gz |
test: improve test-async-hooks-http-parser-destroy
Improve reporting in test-async-hooks-http-parser-destroy when failing.
Before, failures looked like this (edited slightly to conform to our
commit message 72-char line length restriction):
The expression evaluated to a falsy value:
assert.ok(destroyedIds.indexOf(createdAsyncId) >= 0)
Now, you get a slightly better idea of what's up. (Is it missing one ID?
More than one? All of them?):
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped
[
156,
...
757,
- 761,
765
]
PR-URL: https://github.com/nodejs/node/pull/27319
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'src/inspector_agent.h')
0 files changed, 0 insertions, 0 deletions