Index: tests/language_strong/if_null_assignment_static_test.dart |
diff --git a/tests/language_strong/if_null_assignment_static_test.dart b/tests/language_strong/if_null_assignment_static_test.dart |
index a51b4d60d689043de324de55de687c7353f0c77e..5f995cdd7e58da1e28be7e7fb203a9ec8d798fe8 100644 |
--- a/tests/language_strong/if_null_assignment_static_test.dart |
+++ b/tests/language_strong/if_null_assignment_static_test.dart |
@@ -64,15 +64,11 @@ class ClassWithInstanceGetters { |
class DerivedClass extends ClassWithInstanceGetters { |
A get a => bad(); |
- void set a(A value) { |
- bad(); |
- } |
+ void set a(A value) { bad(); } |
B get b => bad(); |
- void set b(B value) { |
- bad(); |
- } |
+ void set b(B value) { bad(); } |
void derivedTest() { |
// The static type of super.v ??= e is the LUB of the static types of |
@@ -95,8 +91,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(); |