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

Unified Diff: tests/language/megamorphic_no_such_method_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/megamorphic_no_such_method_test.dart
diff --git a/tests/language/megamorphic_no_such_method_test.dart b/tests/language/megamorphic_no_such_method_test.dart
index 603fba4880999ea10586a7062668bd6af3695307..43938e09994a759a14c39dac2848a04be2aa46ac 100644
--- a/tests/language/megamorphic_no_such_method_test.dart
+++ b/tests/language/megamorphic_no_such_method_test.dart
@@ -48,7 +48,7 @@ class A9 {
}
// Class with no test method.
-class B { }
+class B {}
test(obj) {
return obj.test();
@@ -56,8 +56,18 @@ test(obj) {
main() {
// Trigger optimization of 'test' function.
- List list = [new A0(), new A1(), new A2(), new A3(), new A4(),
- new A5(), new A6(), new A7(), new A8(), new A9()];
+ List list = [
+ new A0(),
+ new A1(),
+ new A2(),
+ new A3(),
+ new A4(),
+ new A5(),
+ new A6(),
+ new A7(),
+ new A8(),
+ new A9()
+ ];
for (int i = 0; i < 20; i++) {
for (var obj in list) {
test(obj);

Powered by Google App Engine
This is Rietveld 408576698