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

Unified Diff: tests/language_strong/if_null_assignment_static_test.dart

Issue 2770063002: Revert "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 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();
« 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