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

Unified Diff: tests/language_strong/if_null_assignment_behavior_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_behavior_test.dart
diff --git a/tests/language_strong/if_null_assignment_behavior_test.dart b/tests/language_strong/if_null_assignment_behavior_test.dart
index 200d40fb4ff6b74fd3104ab9c4df2597be8311b9..42d65443ea8bd9cd40e8247fab3629c9908e60a4 100644
--- a/tests/language_strong/if_null_assignment_behavior_test.dart
+++ b/tests/language_strong/if_null_assignment_behavior_test.dart
@@ -110,14 +110,14 @@ class C {
var indexGetValue = null;
- operator[](index) {
+ operator [](index) {
h.operations.add('$s[$index]');
var tmp = indexGetValue;
indexGetValue = null;
return tmp;
}
- void operator[]=(index, value) {
+ void operator []=(index, value) {
h.operations.add('$s[$index]=$value');
}
@@ -153,7 +153,8 @@ class D extends C {
main() {
// Make sure the "none" test fails if "??=" is not implemented. This makes
// status files easier to maintain.
- var _; _ ??= null;
+ var _;
+ _ ??= null;
new C('c').instanceTest();
new D('d').derivedInstanceTest();
« no previous file with comments | « tests/language_strong/identical_const_test.dart ('k') | tests/language_strong/if_null_assignment_static_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698