Index: tests/standalone/io/process_sync_test.dart |
diff --git a/tests/standalone/io/process_sync_test.dart b/tests/standalone/io/process_sync_test.dart |
index 4d4b10f54ce06a90feb97fe46bbb4294379013d8..5ad191187d0db8ee84a421f404832d8f1f84f13c 100644 |
--- a/tests/standalone/io/process_sync_test.dart |
+++ b/tests/standalone/io/process_sync_test.dart |
@@ -8,20 +8,18 @@ import "package:expect/expect.dart"; |
import 'package:path/path.dart'; |
import "dart:io"; |
-test(int blockCount, |
- int stdoutBlockSize, |
- int stderrBlockSize, |
- int exitCode, |
- [int nonWindowsExitCode]) { |
+test(int blockCount, int stdoutBlockSize, int stderrBlockSize, int exitCode, |
+ [int nonWindowsExitCode]) { |
// Get the Dart script file that generates output. |
- var scriptFile = new File(Platform.script |
- .resolve("process_sync_script.dart") |
- .toFilePath()); |
- var args = [scriptFile.path, |
- blockCount.toString(), |
- stdoutBlockSize.toString(), |
- stderrBlockSize.toString(), |
- exitCode.toString()]; |
+ var scriptFile = new File( |
+ Platform.script.resolve("process_sync_script.dart").toFilePath()); |
+ var args = [ |
+ scriptFile.path, |
+ blockCount.toString(), |
+ stdoutBlockSize.toString(), |
+ stderrBlockSize.toString(), |
+ exitCode.toString() |
+ ]; |
ProcessResult syncResult = Process.runSync(Platform.executable, args); |
Expect.equals(blockCount * stdoutBlockSize, syncResult.stdout.length); |
Expect.equals(blockCount * stderrBlockSize, syncResult.stderr.length); |
@@ -61,4 +59,3 @@ main() { |
test(10, 10, 10, -1, 255); |
test(10, 10, 10, -255, 1); |
} |
- |