diff options
author | Ashton Kinslow <github@ashtonkinslow.com> | 2016-12-01 15:12:39 -0600 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2016-12-03 11:52:00 +0100 |
commit | c5ccc50d1f5d2ae451233aa4d6b327d318ed2825 (patch) | |
tree | 33e7aa815ad9be23142d32b86db53ed86fe51930 /doc/api/addons.md | |
parent | c0d11752d9c90d6c1c58f9cfd552b9c78f806cd0 (diff) | |
download | android-node-v8-c5ccc50d1f5d2ae451233aa4d6b327d318ed2825.tar.gz android-node-v8-c5ccc50d1f5d2ae451233aa4d6b327d318ed2825.tar.bz2 android-node-v8-c5ccc50d1f5d2ae451233aa4d6b327d318ed2825.zip |
test: test for http.request() invalid method error
Adds a test for when an invalid http method is passed into
http.request() to verify an error is thrown, that the
error is the correct type, and the error message is correct.
PR-URL: https://github.com/nodejs/node/pull/10080
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Diffstat (limited to 'doc/api/addons.md')
0 files changed, 0 insertions, 0 deletions