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

Unified Diff: tests/lib/mirrors/metadata_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/metadata_test.dart
diff --git a/tests/lib/mirrors/metadata_test.dart b/tests/lib/mirrors/metadata_test.dart
index 3811b8b3afe37564a782aaaa1d1af17a171f9d6e..5081653d52417378d2d9cd8a7f5dc5773898a1f8 100644
--- a/tests/lib/mirrors/metadata_test.dart
+++ b/tests/lib/mirrors/metadata_test.dart
@@ -13,13 +13,18 @@ const symbol = const Symbol('symbol');
const hest = 'hest';
-@symbol @string
+@symbol
+@string
class MyClass {
- @hest @hest @symbol
+ @hest
+ @hest
+ @symbol
var x;
var y;
- @string @symbol @string
+ @string
+ @symbol
+ @string
myMethod() => 1;
myOtherMethod() => 2;
}
@@ -43,7 +48,9 @@ checkMetadata(DeclarationMirror mirror, List expectedMetadata) {
print(metadata);
}
-@symbol @string @symbol
+@symbol
+@string
+@symbol
main() {
if (MirrorSystem.getName(symbol) != 'symbol') {
// This happened in dart2js due to how early library metadata is

Powered by Google App Engine
This is Rietveld 408576698