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

Unified Diff: tests/standalone/io/process_exit_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/process_exit_test.dart
diff --git a/tests/standalone/io/process_exit_test.dart b/tests/standalone/io/process_exit_test.dart
index 8e09ae94517c216f1f010e3147f661d53e9c4a96..fcd2866dfb5d88ff6804ba82314a9eeb32ea7f62 100644
--- a/tests/standalone/io/process_exit_test.dart
+++ b/tests/standalone/io/process_exit_test.dart
@@ -5,13 +5,14 @@
// Process test program to test process communication.
library ProcessExitTest;
+
import "package:expect/expect.dart";
import "dart:io";
import "process_test_util.dart";
testExit() {
- var future = Process.start(getProcessTestFileName(),
- const ["0", "0", "99", "0"]);
+ var future =
+ Process.start(getProcessTestFileName(), const ["0", "0", "99", "0"]);
future.then((process) {
process.exitCode.then((int exitCode) {
Expect.equals(exitCode, 99);
@@ -22,8 +23,8 @@ testExit() {
}
testExitRun() {
- Process.run(getProcessTestFileName(),
- const ["0", "0", "99", "0"]).then((result) {
+ Process.run(getProcessTestFileName(), const ["0", "0", "99", "0"]).then(
+ (result) {
Expect.equals(result.exitCode, 99);
Expect.equals(result.stdout, '');
Expect.equals(result.stderr, '');

Powered by Google App Engine
This is Rietveld 408576698