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

Unified Diff: tests/standalone/src/io/DartStdIOPipeTest.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 | « runtime/bin/process_impl.dart ('k') | tests/standalone/src/io/DirectoryErrorTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/io/DartStdIOPipeTest.dart
diff --git a/tests/standalone/src/io/DartStdIOPipeTest.dart b/tests/standalone/src/io/DartStdIOPipeTest.dart
index 988ca28b3b0b6a06de50d7ee0a596b5a65e0b231..71a5f9aaf7664fc205cf78bae44a29182e05004b 100644
--- a/tests/standalone/src/io/DartStdIOPipeTest.dart
+++ b/tests/standalone/src/io/DartStdIOPipeTest.dart
@@ -79,7 +79,7 @@ void test(String shellScript, String dartScript, String type) {
// and can pipe to stdout.
main() {
// Don't try to run shell scripts on Windows.
- var os = new Platform().operatingSystem();
+ var os = Platform.operatingSystem();
if (os == 'windows') return;
// Get the shell script for testing the Standalone Dart VM with
« no previous file with comments | « runtime/bin/process_impl.dart ('k') | tests/standalone/src/io/DirectoryErrorTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698