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

Unified Diff: tests/lib_strong/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_strong/mirrors/metadata_test.dart
diff --git a/tests/lib_strong/mirrors/metadata_test.dart b/tests/lib_strong/mirrors/metadata_test.dart
index 2e1c854be28f4e581e533d1916d45fe8cb095b11..2fe04fa810d722e58c41562f32dd9c9b94dafd9d 100644
--- a/tests/lib_strong/mirrors/metadata_test.dart
+++ b/tests/lib_strong/mirrors/metadata_test.dart
@@ -12,13 +12,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;
}
@@ -42,7 +47,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