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

Unified Diff: tests/language_strong/interceptor2_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/interceptor2_test.dart
diff --git a/tests/language_strong/interceptor2_test.dart b/tests/language_strong/interceptor2_test.dart
index 64e0e592a17c19539c3a82d416db992dc2da8f67..530dcc9abfb4bb495d48ccb33e820fc55a23e87a 100644
--- a/tests/language_strong/interceptor2_test.dart
+++ b/tests/language_strong/interceptor2_test.dart
@@ -8,10 +8,15 @@ import "package:expect/expect.dart";
// not generate an interceptor forwarder when a getter call and a
// method call on an intercepted method were both used.
-class A { get iterator => () => 499; }
+class A {
+ get iterator => () => 499;
+}
main() {
- var a = [new A(), [1, 1]];
+ var a = [
+ new A(),
+ [1, 1]
+ ];
Expect.equals(499, a[0].iterator());
Expect.equals(499, (a[0].iterator)());
for (var i in a[1]) {

Powered by Google App Engine
This is Rietveld 408576698