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

Unified Diff: tests/lib/mirrors/closurization_equivalence_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/closurization_equivalence_test.dart
diff --git a/tests/lib/mirrors/closurization_equivalence_test.dart b/tests/lib/mirrors/closurization_equivalence_test.dart
index 2c36242c23da6a88276e6cd2dc5c3ca6c2d5f75a..d3617de2608cf16e17b07b0a5b9b6e736533fbe0 100644
--- a/tests/lib/mirrors/closurization_equivalence_test.dart
+++ b/tests/lib/mirrors/closurization_equivalence_test.dart
@@ -9,6 +9,7 @@ import 'dart:mirrors';
import 'package:expect/expect.dart';
topLevelMethod() {}
+
class C {
static staticMethod() {}
instanceMethod() {}
@@ -17,14 +18,11 @@ class C {
main() {
LibraryMirror thisLibrary = reflectClass(C).owner;
Expect.equals(thisLibrary.declarations[#topLevelMethod],
- (reflect(topLevelMethod) as ClosureMirror).function,
- "topLevel");
+ (reflect(topLevelMethod) as ClosureMirror).function, "topLevel");
Expect.equals(reflectClass(C).declarations[#staticMethod],
- (reflect(C.staticMethod) as ClosureMirror).function,
- "static");
+ (reflect(C.staticMethod) as ClosureMirror).function, "static");
Expect.equals(reflectClass(C).declarations[#instanceMethod],
- (reflect(new C().instanceMethod) as ClosureMirror).function,
- "instance");
+ (reflect(new C().instanceMethod) as ClosureMirror).function, "instance");
}

Powered by Google App Engine
This is Rietveld 408576698