test: fix test-net-dns-custom-lookup test assertion
authorEvan Lucas <evanlucas@me.com>
Sun, 26 Apr 2015 13:52:10 +0000 (08:52 -0500)
committerEvan Lucas <evanlucas@me.com>
Tue, 28 Apr 2015 06:01:24 +0000 (01:01 -0500)
commitbfae8236b13be7b63668e96f5674cfa5cf5c4988
treeb467a57273a0a2821c7ff499c98bac34874db6de
parent547213913b2e1525c15968916452995ab14e2195
test: fix test-net-dns-custom-lookup test assertion

The assertion made an assumption that the IPv6 address would always be
`::1`. Since the address can be different on different platforms, it
has been changed to allow multiple addresses.

Fixes: https://github.com/iojs/io.js/issues/1527
PR-URL: https://github.com/iojs/io.js/pull/1531
Reviewed-By: Rod Vagg <rod@vagg.org>
test/parallel/test-net-dns-custom-lookup.js