| Index: tests/standalone/io/internet_address_test.dart
|
| diff --git a/tests/standalone/io/internet_address_test.dart b/tests/standalone/io/internet_address_test.dart
|
| index 120cacc84e1f718ad9236b2b62cc2494ce2351fc..22c4a66e7a9a32f5dbef41e50d1301d1d2904816 100644
|
| --- a/tests/standalone/io/internet_address_test.dart
|
| +++ b/tests/standalone/io/internet_address_test.dart
|
| @@ -35,13 +35,15 @@ void testDefaultAddresses() {
|
| void testReverseLookup() {
|
| InternetAddress.lookup('localhost').then((addrs) {
|
| addrs.first.reverse().then((addr) {
|
| - Expect.equals('localhost', addr.host);
|
| + Expect.isNotNull(addr.host);
|
| });
|
| });
|
|
|
| InternetAddress.lookup('127.0.0.1').then((addrs) {
|
| + Expect.equals('127.0.0.1', addrs.first.host);
|
| addrs.first.reverse().then((addr) {
|
| - Expect.equals('localhost', addr.host);
|
| + Expect.isNotNull(addr.host);
|
| + Expect.notEquals('127.0.0.1', addr.host);
|
| });
|
| });
|
| }
|
|
|