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

Unified Diff: tests/lib_strong/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_strong/mirrors/private_symbol_test.dart
diff --git a/tests/lib_strong/mirrors/private_symbol_test.dart b/tests/lib_strong/mirrors/private_symbol_test.dart
index be4f5feeacff7747cee6eba23bb2f5d30782a4fa..37660ccf2e60e190a1235c95b0a97d639fdf674f 100644
--- a/tests/lib_strong/mirrors/private_symbol_test.dart
+++ b/tests/lib_strong/mirrors/private_symbol_test.dart
@@ -64,7 +64,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);
@@ -119,15 +118,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