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

Unified Diff: tests/standalone/io/process_stdout_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_stdout_test.dart
diff --git a/tests/standalone/io/process_stdout_test.dart b/tests/standalone/io/process_stdout_test.dart
index b3f8820f7b2ab4098e10c834180cd960e7373b5f..f36f94f357a85145d0eafa418c297419c192c3ea 100644
--- a/tests/standalone/io/process_stdout_test.dart
+++ b/tests/standalone/io/process_stdout_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 ["0", "1", "99", "0"]), 99);
+ test(
+ Process.start(getProcessTestFileName(), const ["0", "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