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

Unified Diff: tests/lib/mirrors/to_string_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/to_string_test.dart
diff --git a/tests/lib/mirrors/to_string_test.dart b/tests/lib/mirrors/to_string_test.dart
index 3c4ffd0a1c05cf54eebcaa2551b664494bc659b5..7e082883c178bd2e8de9be79965512019de3a603 100644
--- a/tests/lib/mirrors/to_string_test.dart
+++ b/tests/lib/mirrors/to_string_test.dart
@@ -21,13 +21,11 @@ main() {
expect("TypeMirror on 'dynamic'", mirrors.dynamicType);
expect("TypeMirror on 'void'", mirrors.voidType);
expect("LibraryMirror on 'test.to_string_test'",
- mirrors.findLibrary(#test.to_string_test));
+ mirrors.findLibrary(#test.to_string_test));
expect("InstanceMirror on 1", reflect(1));
expect("ClassMirror on 'Foo'", reflectClass(Foo));
- expect("VariableMirror on 'field'",
- reflectClass(Foo).declarations[#field]);
- expect("MethodMirror on 'method'",
- reflectClass(Foo).declarations[#method]);
+ expect("VariableMirror on 'field'", reflectClass(Foo).declarations[#field]);
+ expect("MethodMirror on 'method'", reflectClass(Foo).declarations[#method]);
String s = reflect(main).toString();
Expect.isTrue(s.startsWith("ClosureMirror on '"), s);
}

Powered by Google App Engine
This is Rietveld 408576698