test: improve assert message
authorRich Trott <rtrott@gmail.com>
Tue, 29 Dec 2015 05:28:36 +0000 (21:28 -0800)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:34 +0000 (11:52 -0800)
commit1ae0e355b974aca95a9f33c108e99be7c41e6c06
treedaa19d45062e764e381602548bb11a0202207c84
parentbf56d509b9f258ff80190e0fec6c269ef7713c85
test: improve assert message

Improves the message when an assertion fires in the
test-net-pipe-connect-errors so that it indicates the incorrect value
received rather than merely reporting that the value is incorrect.

PR-URL: https://github.com/nodejs/node/pull/4461
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
test/parallel/test-net-pipe-connect-errors.js