Fixed Issue #236: host.host can be either "localhost" or Platform.localHostname.
diff --git a/LibTest/io/InternetAddress/reverse_A01_t01.dart b/LibTest/io/InternetAddress/reverse_A01_t01.dart
index c154a6a..fec5bbe 100644
--- a/LibTest/io/InternetAddress/reverse_A01_t01.dart
+++ b/LibTest/io/InternetAddress/reverse_A01_t01.dart
@@ -21,7 +21,9 @@
hosts.then((host) {
Expect.equals(address.address, host.address);
Expect.equals(address.type, host.type);
- Expect.equals(Platform.localHostname, host.host);
+ if(host.host != "localhost") {
+ Expect.equals(Platform.localHostname, host.host);
+ }
}, onError: (e) { Expect.fail("Unexpected error appeared: $e"); });
}