diff options
author | Rich Trott <rtrott@gmail.com> | 2020-10-03 13:01:57 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-10-07 04:36:02 -0700 |
commit | f593f9e9ef48f3b41b7f4f40691d42b9512f0f2d (patch) | |
tree | 2b6395ca0a5f28f7815305e5e8160263e7da34c5 /test/parallel/test-domain-thrown-error-handler-stack.js | |
parent | 40364b181d44ba90b6ce7cda4f9e3297581121c5 (diff) | |
download | node-new-f593f9e9ef48f3b41b7f4f40691d42b9512f0f2d.tar.gz |
test: adjust comments for upcoming lint rule
Enforce `//` for multiline comments. Some tests mixed and matched, and
at least one did so in a (to me) surprising way.
PR-URL: https://github.com/nodejs/node/pull/35485
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-domain-thrown-error-handler-stack.js')
-rw-r--r-- | test/parallel/test-domain-thrown-error-handler-stack.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/parallel/test-domain-thrown-error-handler-stack.js b/test/parallel/test-domain-thrown-error-handler-stack.js index 564fd8a5d7..da5f6318c0 100644 --- a/test/parallel/test-domain-thrown-error-handler-stack.js +++ b/test/parallel/test-domain-thrown-error-handler-stack.js @@ -3,11 +3,9 @@ const common = require('../common'); const domain = require('domain'); -/* - * Make sure that when an erorr is thrown from a nested domain, its error - * handler runs outside of that domain, but within the context of any parent - * domain. - */ +// Make sure that when an erorr is thrown from a nested domain, its error +// handler runs outside of that domain, but within the context of any parent +// domain. const d = domain.create(); const d2 = domain.create(); |