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

Unified Diff: tests/lib_strong/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_strong/mirrors/closurization_equivalence_test.dart
diff --git a/tests/lib_strong/mirrors/closurization_equivalence_test.dart b/tests/lib_strong/mirrors/closurization_equivalence_test.dart
index 0701fc7a6969ad18317f68116b9f9aba8e135561..2ac9161fb1724dbababd1f4f3b6c90e5dc908a4d 100644
--- a/tests/lib_strong/mirrors/closurization_equivalence_test.dart
+++ b/tests/lib_strong/mirrors/closurization_equivalence_test.dart
@@ -6,6 +6,7 @@ import 'dart:mirrors';
import 'package:expect/expect.dart';
topLevelMethod() {}
+
class C {
static staticMethod() {}
instanceMethod() {}
@@ -14,14 +15,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