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

Unified Diff: tests/language/regress_22719_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/language/regress_22719_test.dart
diff --git a/tests/language/regress_22719_test.dart b/tests/language/regress_22719_test.dart
index e6cf84d52d789b6289d1f29170da26a54c236903..13310ef649a1bd823ca2fd559f27e2f207f6c09c 100644
--- a/tests/language/regress_22719_test.dart
+++ b/tests/language/regress_22719_test.dart
@@ -5,27 +5,24 @@
import 'dart:collection';
import 'package:expect/expect.dart';
-abstract class A {
-}
+abstract class A {}
abstract class B extends Object with IterableMixin<int> {
Iterator<int> get iterator;
}
abstract class C extends A with IterableMixin<int> implements B {
- final list = [1,2,3,4,5];
+ final list = [1, 2, 3, 4, 5];
Iterator<int> get iterator => list.iterator;
}
-class D extends C {
-}
+class D extends C {}
void main() {
var d = new D();
var expected = 1;
- for(var i in d) {
+ for (var i in d) {
Expect.equals(expected, i);
expected += 1;
}
}
-

Powered by Google App Engine
This is Rietveld 408576698