We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4dc7a7 commit d8eed12Copy full SHA for d8eed12
test/parallel/test-http-outgoing-proto.js
@@ -7,7 +7,8 @@ const OutgoingMessage = http.OutgoingMessage;
7
const ClientRequest = http.ClientRequest;
8
const ServerResponse = http.ServerResponse;
9
10
-assert.throws(OutgoingMessage.prototype._implicitHeader);
+assert.throws(OutgoingMessage.prototype._implicitHeader,
11
+ /^Error: _implicitHeader\(\) method is not implemented$/);
12
assert.strictEqual(
13
typeof ClientRequest.prototype._implicitHeader, 'function');
14
0 commit comments