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

Unified Diff: tests/lib/mirrors/private_symbol_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/private_symbol_test.dart
diff --git a/tests/lib/mirrors/private_symbol_test.dart b/tests/lib/mirrors/private_symbol_test.dart
index cc5527ef412dcc62b5601c59e70e2527d09134c1..884177f2f5be857c2eb9f4529919b8ea427767d0 100644
--- a/tests/lib/mirrors/private_symbol_test.dart
+++ b/tests/lib/mirrors/private_symbol_test.dart
@@ -65,7 +65,6 @@ main() {
Expect.equals(test_foo, #_foo);
-
// Test interactions with the manglings for getters and setters, etc.
ClassMirror cm = reflectClass(_C);
Expect.equals(#_C, cm.simpleName);
@@ -120,15 +119,14 @@ main() {
Expect.equals(#_p, pm.simpleName);
Expect.equals('_p', MirrorSystem.getName(pm.simpleName));
-
// Private symbol without a library.
- Expect.throws(() => MirrorSystem.getSymbol('_private'),
- (e) => e is ArgumentError);
+ Expect.throws(
+ () => MirrorSystem.getSymbol('_private'), (e) => e is ArgumentError);
var notALibraryMirror = 7;
Expect.throws(() => MirrorSystem.getSymbol('_private', notALibraryMirror),
- (e) => e is ArgumentError || e is TypeError);
+ (e) => e is ArgumentError || e is TypeError);
Expect.throws(() => MirrorSystem.getSymbol('public', notALibraryMirror),
- (e) => e is ArgumentError || e is TypeError);
+ (e) => e is ArgumentError || e is TypeError);
}

Powered by Google App Engine
This is Rietveld 408576698