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

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

Issue 2774783002: Re-land "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
« no previous file with comments | « tests/lib/mirrors/reflected_type_test.dart ('k') | tests/lib/mirrors/symbol_validation_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/static_metatarget_test.dart
diff --git a/tests/lib/mirrors/static_metatarget_test.dart b/tests/lib/mirrors/static_metatarget_test.dart
index 8627ac493f1e389280d52ab5917d6212ac6339d0..f653e2c9568999f6804ee2e3bb4bd730601aaa1f 100644
--- a/tests/lib/mirrors/static_metatarget_test.dart
+++ b/tests/lib/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());
-}
+}
« no previous file with comments | « tests/lib/mirrors/reflected_type_test.dart ('k') | tests/lib/mirrors/symbol_validation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698