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

Unified Diff: tests/language_strong/operator2_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/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();
}

Powered by Google App Engine
This is Rietveld 408576698