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

Unified Diff: tests/language/vm/regress_licm_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/vm/regress_licm_test.dart
diff --git a/tests/language/vm/regress_licm_test.dart b/tests/language/vm/regress_licm_test.dart
index 2360caf4e54a8e39263bb58b5632f9849cb29ce3..de211ddc371debf308f8477001b6a962ac577971 100644
--- a/tests/language/vm/regress_licm_test.dart
+++ b/tests/language/vm/regress_licm_test.dart
@@ -37,13 +37,11 @@ class BName extends Name {
get attr => null;
}
-
class Member {
Member(this.name);
var name;
}
-
Member find(List<Member> members, Name name) {
int low = 0, high = members.length - 1;
while (low <= high) {
@@ -61,14 +59,14 @@ Member find(List<Member> members, Name name) {
return null;
}
-
main() {
- var list = [new Member(new AName()),
- new Member(new BName("a")),
- new Member(new BName("b")),
- new Member(new BName("c")),
- new Member(new BName("d"))
- ];
+ var list = [
+ new Member(new AName()),
+ new Member(new BName("a")),
+ new Member(new BName("b")),
+ new Member(new BName("c")),
+ new Member(new BName("d"))
+ ];
find(list, new AName());
find(list, new BName("e"));

Powered by Google App Engine
This is Rietveld 408576698