Index: tests/language/if_null_assignment_behavior_test.dart |
diff --git a/tests/language/if_null_assignment_behavior_test.dart b/tests/language/if_null_assignment_behavior_test.dart |
index 42d65443ea8bd9cd40e8247fab3629c9908e60a4..200d40fb4ff6b74fd3104ab9c4df2597be8311b9 100644 |
--- a/tests/language/if_null_assignment_behavior_test.dart |
+++ b/tests/language/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,8 +153,7 @@ 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(); |