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

Unified Diff: tests/lib/platform/operating_system_test.dart

Issue 43773004: dart:platform | Remove isWindows, isLinux, isAndroid, isMacOS from dart:platform. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add comment about removing dart:io Platform Created 7 years, 2 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
« no previous file with comments | « tests/lib/lib.status ('k') | tests/lib/platform/path_separator_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/platform/operating_system_test.dart
diff --git a/tests/lib/platform/operating_system_test.dart b/tests/lib/platform/operating_system_test.dart
index a85591c08a450f021158cb172581bf9193756c12..b121833dc80677e18e95fc2da0b2844c2cc42eeb 100644
--- a/tests/lib/platform/operating_system_test.dart
+++ b/tests/lib/platform/operating_system_test.dart
@@ -11,8 +11,4 @@ main() {
expect(platform.operatingSystem,
isIn(['linux', 'macos', 'windows', 'android']));
}
- expect(platform.isLinux, platform.operatingSystem == 'linux');
- expect(platform.isMacOS, platform.operatingSystem == 'macos');
- expect(platform.isWindows, platform.operatingSystem == 'windows');
- expect(platform.isAndroid, platform.operatingSystem == 'android');
}
« no previous file with comments | « tests/lib/lib.status ('k') | tests/lib/platform/path_separator_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698