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 7705f4c8109daf4ef959d70ec9af99a821c498fa..9928f7ef93585c50438d0d59d4a8ae1be53e6689 100644 |
--- a/tests/lib/mirrors/globalized_closures_test.dart |
+++ b/tests/lib/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)); |
} |
- }; |
+ } |
+ ; |
Bob Nystrom
2017/03/22 23:46:40
Ditto.
Jacob
2017/03/23 17:27:33
Done.
|
Expect.listEquals(["Object"], collectedParents); // //# 00: ok |
} |