summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-request-invalid-method-error.js
diff options
context:
space:
mode:
authorWeijia Wang <381152119@qq.com>2017-08-10 18:58:22 +0800
committerRefael Ackermann <refack@gmail.com>2017-08-14 17:19:19 -0400
commit11a2ca29babcb35132e7d93244b69c544d52dfe4 (patch)
treea7372ad1c4dfc4300d8a050c8f1fe3cccdadc3b4 /test/parallel/test-http-request-invalid-method-error.js
parent28a47aa1bbd4d278293fda2bb3f2df836d743816 (diff)
downloadandroid-node-v8-11a2ca29babcb35132e7d93244b69c544d52dfe4.tar.gz
android-node-v8-11a2ca29babcb35132e7d93244b69c544d52dfe4.tar.bz2
android-node-v8-11a2ca29babcb35132e7d93244b69c544d52dfe4.zip
errors: migrate _http_outgoing
PR-URL: https://github.com/nodejs/node/pull/14735 Refs: https://github.com/nodejs/node/issues/11273 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'test/parallel/test-http-request-invalid-method-error.js')
-rw-r--r--test/parallel/test-http-request-invalid-method-error.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-request-invalid-method-error.js b/test/parallel/test-http-request-invalid-method-error.js
index 457e90fd48..59706e90c7 100644
--- a/test/parallel/test-http-request-invalid-method-error.js
+++ b/test/parallel/test-http-request-invalid-method-error.js
@@ -8,6 +8,6 @@ assert.throws(
common.expectsError({
code: 'ERR_INVALID_HTTP_TOKEN',
type: TypeError,
- message: 'Method must be a valid HTTP token'
+ message: 'Method must be a valid HTTP token ["\u0000"]'
})
);