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

Unified Diff: tests/compiler/dart2js/mixin_typevariable_test.dart

Issue 2990223002: Reformat untouched files. (Closed)
Patch Set: Created 3 years, 4 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/compiler/dart2js/mixin_typevariable_test.dart
diff --git a/tests/compiler/dart2js/mixin_typevariable_test.dart b/tests/compiler/dart2js/mixin_typevariable_test.dart
index ec29f2050c9a28964958f557e69899c095df976a..b2bcd618e425a5cca0f93a7055ac1c47f38ad977 100644
--- a/tests/compiler/dart2js/mixin_typevariable_test.dart
+++ b/tests/compiler/dart2js/mixin_typevariable_test.dart
@@ -16,9 +16,7 @@ void main() {
}
void testMixinSupertypes() {
- asyncTest(() => TypeEnvironment
- .create(
- r"""
+ asyncTest(() => TypeEnvironment.create(r"""
class S<S_T> {}
class M1<M1_T> {}
class M2<M2_T> {}
@@ -26,9 +24,7 @@ void testMixinSupertypes() {
class C1<C1_T> extends S<C1_T> with M1<C1_T>, M2<C1_T>, M3<C1_T> {}
class C2<C2_T> = S<C2_T> with M1<C2_T>, M2<C2_T>, M3<C2_T>;
- """,
- expectNoWarningsOrErrors: true)
- .then((env) {
+ """, expectNoWarningsOrErrors: true).then((env) {
ClassElement Object = env.getElement('Object');
ClassElement S = env.getElement('S');
ClassElement M1 = env.getElement('M1');
@@ -75,9 +71,7 @@ void testMixinSupertypes() {
}
void testNonTrivialSubstitutions() {
- asyncTest(() => TypeEnvironment
- .create(
- r"""
+ asyncTest(() => TypeEnvironment.create(r"""
class _ {}
class A<A_T> {}
class B<B_T, B_S> {}
@@ -93,9 +87,7 @@ void testNonTrivialSubstitutions() {
class F1<F1_T> extends A<_> with B<_, B<F1_T, _>> {}
class F2<F2_T> = A<_> with B<_, B<F2_T, _>>;
- """,
- expectNoWarningsOrErrors: true)
- .then((env) {
+ """, expectNoWarningsOrErrors: true).then((env) {
ResolutionDartType _dynamic = env['dynamic'];
ResolutionDartType _ = env['_'];
« no previous file with comments | « tests/compiler/dart2js/message_span_test.dart ('k') | tests/compiler/dart2js/no_such_method_enabled_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698