Chromium Code Reviews| Index: tests/standalone/src/io/PlatformTest.dart |
| diff --git a/tests/standalone/src/io/PlatformTest.dart b/tests/standalone/src/io/PlatformTest.dart |
| index b6ea96ea0a2632a9415a811a0214f491f03b459d..276a11ca5a3ee4b68c09803ff49ceaebb95f5ae0 100644 |
| --- a/tests/standalone/src/io/PlatformTest.dart |
| +++ b/tests/standalone/src/io/PlatformTest.dart |
| @@ -11,4 +11,6 @@ main() { |
| Expect.isTrue(os == "linux" || os == "macos" || os == "windows"); |
| var sep = p.pathSeparator(); |
| Expect.isTrue(sep == '/' || (os == 'windows' && sep == '\\')); |
| + var hostname = p.localHostname(); |
| + Expect.isTrue(hostname is String && hostname != ""); |
|
Anders Johnsen
2012/04/11 10:12:12
Should we try and extract the real hostname by usi
|
| } |