| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| 'The state property was not set, current state is ${w.state}'); | ||
| assert.strictEqual(w.voluntaryMode, true, | ||
| 'Voluntary exit mode was not set'); | ||
| 'Voluntary exit mode was not set, current voluntary mode is ${w.voluntaryMode}'); |
There was a problem hiding this comment.
The line length is to long. It would actually be best to just remove the message overall. The message from strictEqual should be better than the current situation. The same applies to w.state.
Sorry, something went wrong.
| worker.once('listening', common.mustCall(() => { | ||
| const w = worker.disconnect(); | ||
| assert.strictEqual(worker, w, 'did not return a reference'); | ||
| assert.strictEqual(worker, w, '${worker.id} did not return a reference'); |
There was a problem hiding this comment.
nit: This needs backticks on the string literal rather than single quote marks.
Sorry, something went wrong.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
Improve assert messages in test-cluster-worker-disconnect.js. PR-URL: nodejs#16021 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
|
Landed in eefee3e. Thanks for the contribution! 🎉 |
Sorry, something went wrong.
Improve assert messages in test-cluster-worker-disconnect.js. PR-URL: #16021 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Improve assert messages in test-cluster-worker-disconnect.js. PR-URL: #16021 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Improve assert messages in test-cluster-worker-disconnect.js. PR-URL: #16021 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Improve assert messages in test-cluster-worker-disconnect.js. PR-URL: nodejs/node#16021 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Improve assert messages in test-cluster-worker-disconnect.js. PR-URL: nodejs/node#16021 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Improve assert messages in test-cluster-worker-disconnect.js. PR-URL: #16021 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Improve assert messages in test-cluster-worker-disconnect.js. PR-URL: #16021 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Improve assert messages in test-cluster-worker-disconnect.js. PR-URL: #16021 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Improve assert messages in test-cluster-worker-disconnect.js. PR-URL: nodejs/node#16021 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
| Back | FazBrowse Home | New Git URL |
Checklist
Affected core subsystem(s)