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

Unified Diff: tests/standalone/io/process_stderr_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_stderr_test.dart
diff --git a/tests/standalone/io/process_stderr_test.dart b/tests/standalone/io/process_stderr_test.dart
index 981b39aa0c13efd2136ba5848b7b72796bfe66a5..56235b5121e596bc70e48f2433a3a0d2741f779e 100644
--- a/tests/standalone/io/process_stderr_test.dart
+++ b/tests/standalone/io/process_stderr_test.dart
@@ -30,9 +30,7 @@ void test(Future<Process> future, int expectedExitCode) {
void readData(data) {
buffer.addAll(data);
- for (int i = received;
- i < min(data.length, buffer.length) - 1;
- i++) {
+ for (int i = received; i < min(data.length, buffer.length) - 1; i++) {
Expect.equals(data[i], buffer[i]);
}
received = buffer.length;
@@ -55,8 +53,8 @@ void test(Future<Process> future, int expectedExitCode) {
main() {
// Run the test using the process_test binary.
- test(Process.start(getProcessTestFileName(),
- const ["1", "1", "99", "0"]), 99);
+ test(
+ Process.start(getProcessTestFileName(), const ["1", "1", "99", "0"]), 99);
// Run the test using the dart binary with an echo script.
// The test runner can be run from either the root or from runtime.

Powered by Google App Engine
This is Rietveld 408576698