summaryrefslogtreecommitdiff
path: root/test/parallel/test-http2-head-request.js
diff options
context:
space:
mode:
authorMatteo Collina <hello@matteocollina.com>2017-10-29 16:36:32 +0100
committerMatteo Collina <hello@matteocollina.com>2017-10-29 18:57:28 +0100
commit6e86a6651ccd6d6f02bc4a8ccd87b4225357f292 (patch)
tree7332a37ed4468fa6f5939ebad40d0bbbdbcd7118 /test/parallel/test-http2-head-request.js
parent896eaf6820a0194fb2879c44c4dbcece29e616d3 (diff)
downloadandroid-node-v8-6e86a6651ccd6d6f02bc4a8ccd87b4225357f292.tar.gz
android-node-v8-6e86a6651ccd6d6f02bc4a8ccd87b4225357f292.tar.bz2
android-node-v8-6e86a6651ccd6d6f02bc4a8ccd87b4225357f292.zip
stream: complete migration to internal/errors
Complete the migration to the new error system of _stream_readable and _stream_writable. Adds the corresponding documentation. PR-URL: https://github.com/nodejs/node/pull/16589 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'test/parallel/test-http2-head-request.js')
-rw-r--r--test/parallel/test-http2-head-request.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/parallel/test-http2-head-request.js b/test/parallel/test-http2-head-request.js
index 8c91132b5f..d15665624a 100644
--- a/test/parallel/test-http2-head-request.js
+++ b/test/parallel/test-http2-head-request.js
@@ -8,6 +8,7 @@ const http2 = require('http2');
const errCheck = common.expectsError({
type: Error,
+ code: 'ERR_STREAM_WRITE_AFTER_END',
message: 'write after end'
}, 2);