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

Unified Diff: tests/lib/mirrors/null_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/null_test.dart
diff --git a/tests/lib/mirrors/null_test.dart b/tests/lib/mirrors/null_test.dart
index 2b6407b2a20fc307ad1b6ec6cba11cdb5b1add57..c7e9b0c9f0f8a90e0ddcfa55e823134938998a8c 100644
--- a/tests/lib/mirrors/null_test.dart
+++ b/tests/lib/mirrors/null_test.dart
@@ -11,19 +11,13 @@ import 'package:expect/expect.dart';
main() {
InstanceMirror nullMirror = reflect(null);
Expect.isTrue(nullMirror.getField(#hashCode).reflectee is int);
- Expect.equals(null.hashCode,
- nullMirror.getField(#hashCode).reflectee);
- Expect.equals('Null',
- nullMirror.getField(#runtimeType).reflectee
- .toString());
+ Expect.equals(null.hashCode, nullMirror.getField(#hashCode).reflectee);
+ Expect.equals('Null', nullMirror.getField(#runtimeType).reflectee.toString());
Expect.isTrue(nullMirror.invoke(#==, [null]).reflectee);
- Expect.isFalse(nullMirror.invoke(#==, [new Object()])
- .reflectee);
- Expect.equals('null',
- nullMirror.invoke(#toString, []).reflectee);
+ Expect.isFalse(nullMirror.invoke(#==, [new Object()]).reflectee);
+ Expect.equals('null', nullMirror.invoke(#toString, []).reflectee);
Expect.throws(() => nullMirror.invoke(#notDefined, []),
- (e) => e is NoSuchMethodError,
- 'noSuchMethod');
+ (e) => e is NoSuchMethodError, 'noSuchMethod');
ClassMirror NullMirror = nullMirror.type;
Expect.equals(reflectClass(Null), NullMirror);

Powered by Google App Engine
This is Rietveld 408576698