Permalink
Browse files

test: check error message in test-http-outgoing-proto

PR-URL: #10943
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
hkalexling authored and lpinca committed Jan 21, 2017
1 parent e7f4825 commit 1155ade002423eb62044598e13bf52a68f3330e5
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/parallel/test-http-outgoing-proto.js
@@ -7,7 +7,8 @@ const OutgoingMessage = http.OutgoingMessage;
const ClientRequest = http.ClientRequest;
const ServerResponse = http.ServerResponse;
assert.throws(OutgoingMessage.prototype._implicitHeader);
assert.throws(OutgoingMessage.prototype._implicitHeader,
/^Error: _implicitHeader\(\) method is not implemented$/);
assert.strictEqual(
typeof ClientRequest.prototype._implicitHeader, 'function');
assert.strictEqual(

0 comments on commit 1155ade

Please sign in to comment.