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

Unified Diff: tests/standalone/io/process_run_output_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_run_output_test.dart
diff --git a/tests/standalone/io/process_run_output_test.dart b/tests/standalone/io/process_run_output_test.dart
index 28d9fa980224e4323d38e3ff7f350b06be3f019a..85b58ea9b1721cff9be7bf5ed98fa2e7dca96587 100644
--- a/tests/standalone/io/process_run_output_test.dart
+++ b/tests/standalone/io/process_run_output_test.dart
@@ -36,17 +36,19 @@ test(scriptFile, String encoding, stream) {
}
if (stream == 'stdout') {
- Process.run(Platform.executable,
- [scriptFile, encoding, stream],
- stdoutEncoding: enc). then((result) {
+ Process
+ .run(Platform.executable, [scriptFile, encoding, stream],
+ stdoutEncoding: enc)
+ .then((result) {
Expect.equals(result.exitCode, 0);
Expect.equals(result.stderr, '');
checkOutput(encoding, result.stdout);
});
} else {
- Process.run(Platform.executable,
- [scriptFile, encoding, stream],
- stderrEncoding: enc).then((result) {
+ Process
+ .run(Platform.executable, [scriptFile, encoding, stream],
+ stderrEncoding: enc)
+ .then((result) {
Expect.equals(result.exitCode, 0);
Expect.equals(result.stdout, '');
checkOutput(encoding, result.stderr);
@@ -57,8 +59,7 @@ test(scriptFile, String encoding, stream) {
main() {
var scriptFile = new File("tests/standalone/io/process_std_io_script2.dart");
if (!scriptFile.existsSync()) {
- scriptFile =
- new File("../tests/standalone/io/process_std_io_script2.dart");
+ scriptFile = new File("../tests/standalone/io/process_std_io_script2.dart");
}
Expect.isTrue(scriptFile.existsSync());
test(scriptFile.path, 'ascii', 'stdout');

Powered by Google App Engine
This is Rietveld 408576698