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

Unified Diff: tests/lib_strong/mirrors/static_metatarget_test.dart

Issue 2768073002: Format all multitests (Closed)
Patch Set: Created 3 years, 9 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/static_metatarget_test.dart
diff --git a/tests/lib_strong/mirrors/static_metatarget_test.dart b/tests/lib_strong/mirrors/static_metatarget_test.dart
index 8627ac493f1e389280d52ab5917d6212ac6339d0..f653e2c9568999f6804ee2e3bb4bd730601aaa1f 100644
--- a/tests/lib_strong/mirrors/static_metatarget_test.dart
+++ b/tests/lib_strong/mirrors/static_metatarget_test.dart
@@ -5,7 +5,7 @@
// Regression test for the combined use of metatargets and static fields with
// annotations.
-@MirrorsUsed(metaTargets:const [Reflectable])
+@MirrorsUsed(metaTargets: const [Reflectable])
import 'dart:mirrors';
class A {
@@ -15,12 +15,14 @@ class A {
@reflectable static var reflectableStaticField = 2; //# 03: ok
- @UsedOnlyAsMetadata() static var unreflectableStaticField = 3;
+ @UsedOnlyAsMetadata()
+ static var unreflectableStaticField = 3;
}
class Reflectable {
const Reflectable();
}
+
const Reflectable reflectable = const Reflectable();
class UsedOnlyAsMetadata {
@@ -29,4 +31,4 @@ class UsedOnlyAsMetadata {
void main() {
print(new A());
-}
+}

Powered by Google App Engine
This is Rietveld 408576698