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

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

Issue 10021048: Remove need to instantiate Platform and make methods static. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add stable 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/compiler/build_helper.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 3d75640b45b48d4412598c958fc4e7ae02f5abf0..c37483de62c768207e008536f7d464befc58a2cf 100644
--- a/utils/tests/pub/test_pub.dart
+++ b/utils/tests/pub/test_pub.dart
@@ -21,7 +21,7 @@ void testOutput(String description, List<String> pubArgs, String expected,
// 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 = new Platform().operatingSystem();
+ final platform = Platform.operatingSystem();
final dartBin = joinPaths(scriptDir,
'../../../tools/testing/bin/$platform/dart');
« no previous file with comments | « utils/compiler/build_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698