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

Unified Diff: tests/lib_strong/mirrors/globalized_closures_test.dart

Issue 2774783002: Re-land "Format all multitests" (Closed)
Patch Set: Created 3 years, 9 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/lib_strong/mirrors/globalized_closures_test.dart
diff --git a/tests/lib_strong/mirrors/globalized_closures_test.dart b/tests/lib_strong/mirrors/globalized_closures_test.dart
index 7705f4c8109daf4ef959d70ec9af99a821c498fa..9928f7ef93585c50438d0d59d4a8ae1be53e6689 100644
--- a/tests/lib_strong/mirrors/globalized_closures_test.dart
+++ b/tests/lib_strong/mirrors/globalized_closures_test.dart
@@ -12,8 +12,7 @@ import 'dart:mirrors';
import 'package:expect/expect.dart';
-class main_closure {
-}
+class main_closure {}
confuse(x) {
if (new DateTime.now().millisecondsSinceEpoch == 42) return confuse(() => 42);
@@ -32,6 +31,7 @@ main() {
if (c is ClassMirror && c.superclass != null) {
collectedParents.add(MirrorSystem.getName(c.superclass.simpleName));
}
- };
+ }
+ ;
Expect.listEquals(["Object"], collectedParents); // //# 00: ok
}
« no previous file with comments | « tests/lib_strong/mirrors/globalized_closures2_test.dart ('k') | tests/lib_strong/mirrors/initializing_formals_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698