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

Unified Diff: tests/language/if_null_assignment_static_test.dart

Issue 2768073002: 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
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 3aeeb9aaf8014d9fc4ec0ab22c625d98f56515a8..6f0858c329759f36bb011f103ffd4ef9b38cb27f 100644
--- a/tests/language/if_null_assignment_static_test.dart
+++ b/tests/language/if_null_assignment_static_test.dart
@@ -67,11 +67,15 @@ 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
@@ -94,7 +98,8 @@ 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();

Powered by Google App Engine
This is Rietveld 408576698