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 fd4b358b991887fd9cf0725d319274e6c5ba6b10..0e937164744e4b862fe4502d8e7123eb3a9621fd 100644 |
--- a/tests/standalone/io/internet_address_test.dart |
+++ b/tests/standalone/io/internet_address_test.dart |
@@ -10,13 +10,13 @@ void testDefaultAddresses() { |
var loopback4 = InternetAddress.LOOPBACK_IP_V4; |
Expect.isNotNull(loopback4); |
Expect.equals(InternetAddressType.IP_V4, loopback4.type); |
- Expect.equals("localhost", loopback4.host); |
+ Expect.equals("127.0.0.1", loopback4.host); |
Expect.equals("127.0.0.1", loopback4.address); |
var loopback6 = InternetAddress.LOOPBACK_IP_V6; |
Expect.isNotNull(loopback6); |
Expect.equals(InternetAddressType.IP_V6, loopback6.type); |
- Expect.equals("ip6-localhost", loopback6.host); |
+ Expect.equals("::1", loopback6.host); |
Expect.equals("::1", loopback6.address); |
var any4 = InternetAddress.ANY_IP_V4; |