test: adds a test for undefined value in setHeader
authorKen Perkins <ken.perkins@rackspace.com>
Thu, 26 Feb 2015 18:36:40 +0000 (10:36 -0800)
committerBrendan Ashworth <brendan.ashworth@me.com>
Thu, 5 Mar 2015 05:57:00 +0000 (21:57 -0800)
commitb72fa030572175060a747bc7b95784bf5d1e163b
treea7258c0c698f17d8ad95d3031c6c8e7264277e75
parent2b79052494e6ec6d715f6e856df0f1503baa0a75
test: adds a test for undefined value in setHeader

As a result of 979d0ca8 there is a new check for undefined values on
OutgoingMessage.setHeader. This commit introduces a test for this case.

PR-URL: https://github.com/iojs/io.js/pull/970
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
test/parallel/test-http-write-head.js