diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2017-03-04 15:03:15 +0800 |
---|---|---|
committer | Franziska Hinkelmann <franzih@chromium.org> | 2017-03-09 10:55:58 +0100 |
commit | 47759429578952672ef9d1079412ed56aad77c4d (patch) | |
tree | 05a504281540934e8a077a0d39d69cc8a6b9c044 /doc/api_assets/style.css | |
parent | a9e64a8ce188710dcc51fd2fcfb076b051358a63 (diff) | |
download | android-node-v8-47759429578952672ef9d1079412ed56aad77c4d.tar.gz android-node-v8-47759429578952672ef9d1079412ed56aad77c4d.tar.bz2 android-node-v8-47759429578952672ef9d1079412ed56aad77c4d.zip |
lib, test: fix server.listen error message
Previously the error messages are mostly `[object Object]`
after the options get normalized. Use util.inspect to make
it more useful.
Refactor the listen option test, add precise
error message validation and a few more test cases.
PR-URL: https://github.com/nodejs/node/pull/11693
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Diffstat (limited to 'doc/api_assets/style.css')
0 files changed, 0 insertions, 0 deletions