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

Unified Diff: tests/lib_strong/mirrors/intercepted_cache_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/lib_strong/mirrors/intercepted_cache_test.dart
diff --git a/tests/lib_strong/mirrors/intercepted_cache_test.dart b/tests/lib_strong/mirrors/intercepted_cache_test.dart
index 818906d781ecefda837e97a683064e7513f86ed3..b38881c6164b11939485744fa400d056d0e2b08c 100644
--- a/tests/lib_strong/mirrors/intercepted_cache_test.dart
+++ b/tests/lib_strong/mirrors/intercepted_cache_test.dart
@@ -10,16 +10,13 @@ import 'dart:mirrors';
import 'package:expect/expect.dart';
-
class Foo {
Foo(this.length);
int length;
}
main() {
- Expect.equals(
- 1, reflect(new Foo(1)).getField(#length).reflectee);
- Expect.equals(
- 2, reflect(new Foo(2)).getField(#length).reflectee);
+ Expect.equals(1, reflect(new Foo(1)).getField(#length).reflectee);
+ Expect.equals(2, reflect(new Foo(2)).getField(#length).reflectee);
Expect.equals(0, reflect([]).getField(#length).reflectee);
}

Powered by Google App Engine
This is Rietveld 408576698