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

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

Issue 45103002: Deprecate dart:io Platform, replaced by dart:platform. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix dartium failure on path_separator_test. 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 | « sdk/lib/io/platform.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/platform/path_separator_test.dart
diff --git a/tests/lib/platform/path_separator_test.dart b/tests/lib/platform/path_separator_test.dart
index 10b252f8feb3a4fd822384dec03ffc366b80c5da..2a7a59507a295fb2430dd00dcf96df81771ad179 100644
--- a/tests/lib/platform/path_separator_test.dart
+++ b/tests/lib/platform/path_separator_test.dart
@@ -10,6 +10,6 @@ main() {
if (platform.operatingSystem == 'windows') {
expect(platform.pathSeparator, '\\');
} else {
- expect(platform.pathSeparator, '/');
+ expect(platform.pathSeparator, isIn(['/', null]));
}
}
« no previous file with comments | « sdk/lib/io/platform.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698