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

Unified Diff: utils/tests/pub/test_pub.dart

Issue 10351011: Change Platform members to getters instead of methods. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding new test binaries Created 8 years, 8 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 | « utils/pub/io.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/test_pub.dart
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
index ddac2322e53425df15f7d2720bd284eeb36c1c23..d4ad613b40edf5f0e07e282bed57aabf8001d256 100644
--- a/utils/tests/pub/test_pub.dart
+++ b/utils/tests/pub/test_pub.dart
@@ -111,7 +111,7 @@ Future<ProcessResult> _runPub(List<String> pubArgs, String workingDir) {
// Find a dart executable we can use to run pub. Uses the one that the
// test infrastructure uses.
final scriptDir = new File(new Options().script).directorySync().path;
- final platform = Platform.operatingSystem();
+ final platform = Platform.operatingSystem;
final dartBin = join(scriptDir, '../../../tools/testing/bin/$platform/dart');
// Find the main pub entrypoint.
« no previous file with comments | « utils/pub/io.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698