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

Unified Diff: tests/corelib/set_iterator_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/corelib/set_iterator_test.dart
diff --git a/tests/corelib/set_iterator_test.dart b/tests/corelib/set_iterator_test.dart
index d2193adf76d90008e9fdfb224fdf1cd9e9ad30bd..26d0deec908cdb94862c3e2fd4026034dcfa2004 100644
--- a/tests/corelib/set_iterator_test.dart
+++ b/tests/corelib/set_iterator_test.dart
@@ -7,7 +7,9 @@ import "package:expect/expect.dart";
class FixedHashCode {
final int _hashCode;
const FixedHashCode(this._hashCode);
- int get hashCode { return _hashCode; }
+ int get hashCode {
+ return _hashCode;
+ }
}
class SetIteratorTest {
@@ -80,8 +82,10 @@ class SetIteratorTest {
int count = 0;
for (int i = 0; i < 100; i++) {
set.add(i);
- if (i % 2 == 0) set.remove(i);
- else count += i;
+ if (i % 2 == 0)
+ set.remove(i);
+ else
+ count += i;
}
it = set.iterator;
sum(count, it);

Powered by Google App Engine
This is Rietveld 408576698