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

Unified Diff: tests/lib/mirrors/mirrors_used_inheritance_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/mirrors/mirrors_used_inheritance_test.dart
diff --git a/tests/lib/mirrors/mirrors_used_inheritance_test.dart b/tests/lib/mirrors/mirrors_used_inheritance_test.dart
index 3f9f971b5bf8e35ea380e05133b187fcc3e2a6d6..5066731731fa4f896b194c3615b10047302bb264 100644
--- a/tests/lib/mirrors/mirrors_used_inheritance_test.dart
+++ b/tests/lib/mirrors/mirrors_used_inheritance_test.dart
@@ -51,7 +51,7 @@ tryField(object, symbol, expected) {
Expect.equals(result, expected);
}
-main () {
+main() {
var objects = [new Reflected(), new Subclass()];
// Make sure the subclass methods are alive.
@@ -72,7 +72,6 @@ main () {
tryField(subclass, #inheritedField, 1);
tryField(subclass, #overriddenField, 2);
tryField(subclass, #subclassedField, 4);
- Expect.throws(() =>
- reflect(subclass).invoke(#subclassMethod, [11]));
+ Expect.throws(() => reflect(subclass).invoke(#subclassMethod, [11]));
Expect.throws(() => reflect(subclass).getField(#subclassField));
}

Powered by Google App Engine
This is Rietveld 408576698