Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Unified Diff: test/io.dart

Issue 1715523003: Warn when an unsupported platform is passed. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/io.dart
diff --git a/test/io.dart b/test/io.dart
index 1db00ed72b813afc1b20674cbfdecb255dda5914..f7ead650692c26604599182f08e457ca574c7e79 100644
--- a/test/io.dart
+++ b/test/io.dart
@@ -33,6 +33,9 @@ final String noSuchFileMessage = Platform.isWindows
final _servingRegExp =
new RegExp(r'^Serving myapp [a-z]+ on http://localhost:(\d+)$');
+/// An operating system name that's different than the current operating system.
+final otherOS = Platform.isWindows ? "mac-os" : "windows";
+
/// A future that will return the port of a pub serve instance run via
/// [runPubServe].
///

Powered by Google App Engine
This is Rietveld 408576698