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

Unified Diff: tests/language_strong/if_null_assignment_static_test.dart

Issue 2774783002: Re-land "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_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 5f995cdd7e58da1e28be7e7fb203a9ec8d798fe8..a51b4d60d689043de324de55de687c7353f0c77e 100644
--- a/tests/language_strong/if_null_assignment_static_test.dart
+++ b/tests/language_strong/if_null_assignment_static_test.dart
@@ -64,11 +64,15 @@ 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
@@ -91,7 +95,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();
« no previous file with comments | « tests/language_strong/if_null_assignment_behavior_test.dart ('k') | tests/language_strong/if_null_behavior_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698