Index: tests/lib_strong/mirrors/redirecting_factory_different_type_test.dart |
diff --git a/tests/lib_strong/mirrors/redirecting_factory_different_type_test.dart b/tests/lib_strong/mirrors/redirecting_factory_different_type_test.dart |
index 126198718e8a77662a585eb4b9cb54966bebcd1b..d5434f391c0ef3d44de6b3eb55d0db0b705d62ee 100644 |
--- a/tests/lib_strong/mirrors/redirecting_factory_different_type_test.dart |
+++ b/tests/lib_strong/mirrors/redirecting_factory_different_type_test.dart |
@@ -12,13 +12,15 @@ import 'package:expect/expect.dart'; |
class A { |
factory A( |
String // //# 01: static type warning |
- x) = B; |
+ x) = B; |
A._(); |
} |
class B extends A { |
var x; |
- B(int x) : super._(), this.x = x; |
+ B(int x) |
+ : super._(), |
+ this.x = x; |
} |
main() { |
@@ -26,6 +28,6 @@ main() { |
// The type-annotation in A's constructor must be ignored. |
var b = cm.newInstance(const Symbol(''), [499]).reflectee; |
Expect.equals(499, b.x); |
- Expect.throws(() => cm.newInstance(const Symbol(''), ["str"]), |
- (e) => e is TypeError); |
+ Expect.throws( |
+ () => cm.newInstance(const Symbol(''), ["str"]), (e) => e is TypeError); |
} |