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

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

Issue 2770063002: Revert "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
« no previous file with comments | « tests/lib/mirrors/globalized_closures2_test.dart ('k') | tests/lib/mirrors/initializing_formals_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/globalized_closures_test.dart
diff --git a/tests/lib/mirrors/globalized_closures_test.dart b/tests/lib/mirrors/globalized_closures_test.dart
index 93b0bf0d1afe29cc0796d264a8d18d00f1b9df02..7705f4c8109daf4ef959d70ec9af99a821c498fa 100644
--- a/tests/lib/mirrors/globalized_closures_test.dart
+++ b/tests/lib/mirrors/globalized_closures_test.dart
@@ -12,7 +12,8 @@ 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);
@@ -31,6 +32,6 @@ 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/mirrors/globalized_closures2_test.dart ('k') | tests/lib/mirrors/initializing_formals_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698