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

Unified Diff: tests/language/field_increment_bailout_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/field_increment_bailout_test.dart
diff --git a/tests/language/field_increment_bailout_test.dart b/tests/language/field_increment_bailout_test.dart
index 4685513b4f9f81c6e6269c860c2428650c343abc..7275f675620826ddcbf1636dc952e203bfb5d2a3 100644
--- a/tests/language/field_increment_bailout_test.dart
+++ b/tests/language/field_increment_bailout_test.dart
@@ -18,7 +18,9 @@ class A {
var list;
var node;
- A(node) : node = node, list = node.outgoing;
+ A(node)
+ : node = node,
+ list = node.outgoing;
next() {
// dart2js used to update [offset] twice: once in the optimized
@@ -42,11 +44,10 @@ class L {
noSuchMethod(mirror) => reflect(list).delegate(mirror);
}
-main () {
+main() {
var o = new A(new N(new L([1]), new L([2])));
- for (var i = 1; i <= 2; i++)
- Expect.equals(i, o.next());
+ for (var i = 1; i <= 2; i++) Expect.equals(i, o.next());
Expect.equals(null, o.list);
}

Powered by Google App Engine
This is Rietveld 408576698