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

Unified Diff: tests/lib_strong/mirrors/invoke_private_wrong_library_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/invoke_private_wrong_library_test.dart
diff --git a/tests/lib_strong/mirrors/invoke_private_wrong_library_test.dart b/tests/lib_strong/mirrors/invoke_private_wrong_library_test.dart
index c9e938705df37e9d81ab2b462e7fa26a9530be50..902492fb31890b2d6db103105af8d497c192b0e9 100644
--- a/tests/lib_strong/mirrors/invoke_private_wrong_library_test.dart
+++ b/tests/lib_strong/mirrors/invoke_private_wrong_library_test.dart
@@ -20,14 +20,14 @@ main() {
C c = new C();
InstanceMirror im = reflect(c);
- expectThrowsNSM(() => im.invoke(#_method, [2,4,8]));
+ expectThrowsNSM(() => im.invoke(#_method, [2, 4, 8]));
expectThrowsNSM(() => im.getField(#_getter));
expectThrowsNSM(() => im.getField(#_field));
expectThrowsNSM(() => im.setField(#_setter, 'foo'));
expectThrowsNSM(() => im.setField(#_field, 'bar'));
ClassMirror cm = reflectClass(C);
- expectThrowsNSM(() => cm.invoke(#_staticFunction, [3,4]));
+ expectThrowsNSM(() => cm.invoke(#_staticFunction, [3, 4]));
expectThrowsNSM(() => cm.getField(#_staticGetter));
expectThrowsNSM(() => cm.getField(#_staticField));
expectThrowsNSM(() => cm.setField(#_staticSetter, 'sfoo'));
@@ -35,7 +35,7 @@ main() {
expectThrowsNSM(() => cm.newInstance(#_named, ['my value']));
LibraryMirror lm = cm.owner;
- expectThrowsNSM(() => lm.invoke(#_libraryFunction, [':',')']));
+ expectThrowsNSM(() => lm.invoke(#_libraryFunction, [':', ')']));
expectThrowsNSM(() => lm.getField(#_libraryGetter));
expectThrowsNSM(() => lm.getField(#_libraryField));
expectThrowsNSM(() => lm.setField(#_librarySetter, 'lfoo'));

Powered by Google App Engine
This is Rietveld 408576698