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 |