| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
not ok 179 parallel/test-net-listen-port-option
---
duration_ms: 60.135
severity: fail
stack: |-
timeout
...
|
Sorry, something went wrong.
|
@refack rebase onto v6.x-master and not ok 179 parallel/test-net-listen-port-option will dissappear, at least. I'm confused by the PR title "document ...", but it implements, as well as documents? Adding yet another argument to assert.fail() seems reasonably safe, any reason we shouldn't backport this? |
Sorry, something went wrong.
|
Staring slightly harder, this seems to be a couple changes squashed into one commit: both a refactor of lib/assert.js, and the documentation of a pre-existing API? @refack need some clarification here, please. |
Sorry, something went wrong.
|
@sam-github it is indeed a combination of multiple commits and if I read the change correct it also changes assert.fail a tiny bit. It also includes e.g. #12293 |
Sorry, something went wrong.
Original the request was to backport #13862 to v8.x. Out of haste I ported it to v6.x by mistake. To smooth port I dragged in #13974 as well. Anyway if it looks iffy feel free to reject it |
Sorry, something went wrong.
|
Decided not to move forward |
Sorry, something went wrong.
Sorry, something went wrong.
* refactor the code 1. Rename private functions 2. Use destructuring 3. Remove obsolete comments * remove eslint rule PR-URL: nodejs#13862 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Sorry, something went wrong.
|
@refack the lts working group decided to not land this independent of how hard it was to backport. We gate which minor updates we land on the branch. Closing again, feel free to continue discussion though. |
Sorry, something went wrong.
|
As far as I remember (from listening to the discussion) the decision was based on this PR affecting the output of assert.fail. That part was just backported by #15479. The only change is improving the default error for no args assert.fail(): diff --git a/test/parallel/test-assert-fail.js b/test/parallel/test-assert-fail.js
index a64cfdb3abb..ebd962be751 100644
assert.throws(
() => { assert.fail(); },
- /^AssertionError: undefined undefined undefined$/
+ AssertionError,
+ 'Failed'
);So I'd like this to be reconsidered. |
Sorry, something went wrong.
So the part that we thought was a blocker we've actually already backported? Seems a bit silly not to backport this now then. +1 to backporting. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Refs: #13862
Was asked to port to v8.x but I ported to v6.x by mistake, so here it is if you want it 🤷♂️
/cc @nodejs/lts
Checklist
Affected core subsystem(s)
assert