Index: tests/language_strong/operator2_test.dart |
diff --git a/tests/language_strong/operator2_test.dart b/tests/language_strong/operator2_test.dart |
index 66d0ba593414116753371400cfb9774a0909a899..99c770b58011524c573a98b501b89197e693c267 100644 |
--- a/tests/language_strong/operator2_test.dart |
+++ b/tests/language_strong/operator2_test.dart |
@@ -7,10 +7,11 @@ import "package:expect/expect.dart"; |
class Helper { |
int i; |
- Helper(int val) : i = val { } |
+ Helper(int val) : i = val {} |
operator [](int index) { |
return i + index; |
} |
+ |
void operator []=(int index, int val) { |
i = val; |
} |
@@ -25,7 +26,6 @@ class OperatorTest { |
} |
} |
- |
main() { |
OperatorTest.testMain(); |
} |