Index: tests/language/if_null_assignment_static_test.dart |
diff --git a/tests/language/if_null_assignment_static_test.dart b/tests/language/if_null_assignment_static_test.dart |
index 6f0858c329759f36bb011f103ffd4ef9b38cb27f..3aeeb9aaf8014d9fc4ec0ab22c625d98f56515a8 100644 |
--- a/tests/language/if_null_assignment_static_test.dart |
+++ b/tests/language/if_null_assignment_static_test.dart |
@@ -67,15 +67,11 @@ class ClassWithInstanceGetters { |
class DerivedClass extends ClassWithInstanceGetters { |
dynamic get a => bad(); |
- void set a(dynamic value) { |
- bad(); |
- } |
+ void set a(dynamic value) { bad(); } |
dynamic get b => bad(); |
- void set b(dynamic value) { |
- bad(); |
- } |
+ void set b(dynamic value) { bad(); } |
void derivedTest() { |
// The static type of super.v ??= e is the LUB of the static types of |
@@ -98,8 +94,7 @@ class DerivedClass extends ClassWithInstanceGetters { |
main() { |
// Make sure the "none" test fails if "??=" is not implemented. This makes |
// status files easier to maintain. |
- var _; |
- _ ??= null; |
+ var _; _ ??= null; |
new DerivedClass().derivedTest(); |