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

Unified Diff: tests/standalone/io/stdio_implicit_close_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/stdio_implicit_close_test.dart
diff --git a/tests/standalone/io/stdio_implicit_close_test.dart b/tests/standalone/io/stdio_implicit_close_test.dart
index 78da8362bfa67f30e850877ed0c83fef1c732346..3d1339d5c66384542c124adfb6e503d5fbd57e88 100644
--- a/tests/standalone/io/stdio_implicit_close_test.dart
+++ b/tests/standalone/io/stdio_implicit_close_test.dart
@@ -16,20 +16,20 @@ void test({bool closeStdout, bool closeStderr}) {
// Relying on these flags to print something specific on stdout and stderr
// is brittle, but otherwise we would need to add our own flag.
var arguments = [
- "--print-metrics", // Prints on stderr.
- "--timing", // Prints on stdout.
- script,
+ "--print-metrics", // Prints on stderr.
+ "--timing", // Prints on stdout.
+ script,
];
if (closeStdout) arguments.add("stdout");
if (closeStderr) arguments.add("stderr");
asyncStart();
- Process.run(Platform.executable,
- arguments,
- stdoutEncoding: ASCII,
- stderrEncoding: ASCII).then((result) {
- print(result.stdout);
- print(result.stderr);
+ Process
+ .run(Platform.executable, arguments,
+ stdoutEncoding: ASCII, stderrEncoding: ASCII)
+ .then((result) {
+ print(result.stdout);
+ print(result.stderr);
Expect.equals(0, result.exitCode);
if (closeStdout) {

Powered by Google App Engine
This is Rietveld 408576698