Index: tests/standalone/io/file_read_special_device_test.dart |
diff --git a/tests/standalone/io/file_read_special_device_test.dart b/tests/standalone/io/file_read_special_device_test.dart |
index e57f777eeb1d2bbdb90992c23519447da0d0185d..ca6b870f35bb5c8532ebb47f860775d86539d823 100644 |
--- a/tests/standalone/io/file_read_special_device_test.dart |
+++ b/tests/standalone/io/file_read_special_device_test.dart |
@@ -11,12 +11,11 @@ import 'dart:io'; |
void openAndWriteScript(String script) { |
script = Platform.script.resolve(script).toFilePath(); |
var executable = Platform.executable; |
- var file = script; // Use script as file. |
+ var file = script; // Use script as file. |
Process.start("bash", ["-c", "$executable $script < $file"]).then((process) { |
- process.exitCode |
- .then((exitCode) { |
- Expect.equals(0, exitCode); |
- }); |
+ process.exitCode.then((exitCode) { |
+ Expect.equals(0, exitCode); |
+ }); |
}); |
} |