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

Unified Diff: tests/standalone/io/stdio_nonblocking_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_nonblocking_test.dart
diff --git a/tests/standalone/io/stdio_nonblocking_test.dart b/tests/standalone/io/stdio_nonblocking_test.dart
index d788fb5d71e98dd6dc1780c0a9e4309a005a6612..7600c6e7444d4a53f7891a95038dc029e01ca0af 100644
--- a/tests/standalone/io/stdio_nonblocking_test.dart
+++ b/tests/standalone/io/stdio_nonblocking_test.dart
@@ -12,12 +12,12 @@ import "package:expect/expect.dart";
void main() {
var script =
Platform.script.resolve("stdio_nonblocking_script.dart").toFilePath();
- Process.run(Platform.executable,
- [script],
- stdoutEncoding: ASCII,
- stderrEncoding: ASCII).then((result) {
- print(result.stdout);
- print(result.stderr);
+ Process
+ .run(Platform.executable, [script],
+ stdoutEncoding: ASCII, stderrEncoding: ASCII)
+ .then((result) {
+ print(result.stdout);
+ print(result.stderr);
Expect.equals(1, result.exitCode);
Expect.equals('stdout\n\ntuodts\nABCDEFGHIJKLM\n', result.stdout);
Expect.equals('stderr\n\nrredts\nABCDEFGHIJKLM\n', result.stderr);

Powered by Google App Engine
This is Rietveld 408576698