We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcd08b8 commit e3a316fCopy full SHA for e3a316f
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