From 6e86a6651ccd6d6f02bc4a8ccd87b4225357f292 Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Sun, 29 Oct 2017 16:36:32 +0100 Subject: 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 Reviewed-By: Anna Henningsen Reviewed-By: Joyee Cheung --- test/parallel/test-http2-head-request.js | 1 + 1 file changed, 1 insertion(+) (limited to 'test/parallel/test-http2-head-request.js') 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); -- cgit v1.2.3