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

Unified Diff: tests/language_strong/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_strong/megamorphic_no_such_method_test.dart
diff --git a/tests/language_strong/megamorphic_no_such_method_test.dart b/tests/language_strong/megamorphic_no_such_method_test.dart
index 92e082670faba5e56d32706a0500df771dd756f7..ff95bb65344ea31b7ec24a0d08ebf005278d4334 100644
--- a/tests/language_strong/megamorphic_no_such_method_test.dart
+++ b/tests/language_strong/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