test: improve async hooks test error messages#13243
test: improve async hooks test error messages#13243addaleax wants to merge 1 commit intonodejs:masterfrom
Conversation
|
From a partial scan I agree with 97% of removals. |
Sounds good, but maybe a little bit more lax, like if it's more than |
I wouldn’t agree.
Sure, this isn’t urgent. |
|
ping @refack ... have you had a chance to review yet? |
|
halfway there. |
trevnorris
left a comment
There was a problem hiding this comment.
Changes look good. Thanks for the cleanup.
Improve error messages in the async hooks tests, mostly by removing unhelpful `message` parameters for assertions.
e76c106 to
acbdc64
Compare
|
Rebased. @refack I think the “a day or two before landing” have passed by now, are you okay with reviewing this later and fixing up anything you’d like to see addressed yourself? |
Yep. |
|
Landed in 1dc3272 |
Improve error messages in the async hooks tests, mostly by removing unhelpful `message` parameters for assertions. PR-URL: #13243 Reviewed-By: Kunal Pathak <kunal.pathak@microsoft.com> Reviewed-By: Andreas Madsen <amwebdk@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Improve error messages in the async hooks tests, mostly by removing unhelpful `message` parameters for assertions. PR-URL: #13243 Reviewed-By: Kunal Pathak <kunal.pathak@microsoft.com> Reviewed-By: Andreas Madsen <amwebdk@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Improve error messages in the async hooks tests, mostly by removing
unhelpful
messageparameters for assertions.(@Trott, maybe we could have a lint rule that forbids literals as messages if this PR is somewhat well-received?)
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
test/async_hooks