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

Unified Diff: tests/standalone/io/file_read_special_device_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 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
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);
+ });
});
}

Powered by Google App Engine
This is Rietveld 408576698