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

Unified Diff: tests/compiler/dart2js/data/mirrors_helper.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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/compiler/dart2js/data/exit_code_helper.dart ('k') | tests/compiler/dart2js/dead_code_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/data/mirrors_helper.dart
diff --git a/tests/compiler/dart2js/data/mirrors_helper.dart b/tests/compiler/dart2js/data/mirrors_helper.dart
index 7ffae11501685404186fdf2fd77971a0d29cd8bb..23544c1485f4e47e261af6bcb43b063776f6a9ed 100644
--- a/tests/compiler/dart2js/data/mirrors_helper.dart
+++ b/tests/compiler/dart2js/data/mirrors_helper.dart
@@ -8,11 +8,9 @@
library mirrors_helper;
-typedef E Func<E,F extends Foo>(F f);
+typedef E Func<E, F extends Foo>(F f);
-main() {
-
-}
+main() {}
/// Singleline doc comment.
@Metadata(null)
@@ -24,29 +22,26 @@ main() {
@Metadata(1.5)
@Metadata("Foo")
@Metadata(const ["Foo"])
-@Metadata(const {'foo':"Foo"})
+@Metadata(const {'foo': "Foo"})
@metadata
/** Multiline doc comment. */
/* Multiline comment. */ class Foo {
m(@metadata a) {}
}
+abstract class Bar<E> {}
-abstract class Bar<E> {
-
-}
-
-class Baz<E,F extends Foo> implements Bar<E> {
+class Baz<E, F extends Foo> implements Bar<E> {
Baz();
const Baz.named();
- factory Baz.factory() => new Baz<E,F>();
+ factory Baz.factory() => new Baz<E, F>();
static method1(e) {}
void method2(E e, [F f = null]) {}
- Baz<E,F> method3(E func1(F f), Func<E,F> func2) => null;
+ Baz<E, F> method3(E func1(F f), Func<E, F> func2) => null;
- bool operator==(Object other) => false;
- int operator-() => 0;
+ bool operator ==(Object other) => false;
+ int operator -() => 0;
operator$foo() {}
}
@@ -75,4 +70,4 @@ const metadata = const Metadata(null);
class Metadata {
final data;
const Metadata(this.data);
-}
+}
« no previous file with comments | « tests/compiler/dart2js/data/exit_code_helper.dart ('k') | tests/compiler/dart2js/dead_code_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698