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

Unified Diff: tests/language_strong/forwarding_factory_constructor_default_values_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/language_strong/forwarding_factory_constructor_default_values_test.dart
diff --git a/tests/language_strong/forwarding_factory_constructor_default_values_test.dart b/tests/language_strong/forwarding_factory_constructor_default_values_test.dart
index 2fb0890db0ba1f3d9c8d5edc42e8d85e73cdfed5..70738fe26c5cbfacf8a8cfcf789465214549b598 100644
--- a/tests/language_strong/forwarding_factory_constructor_default_values_test.dart
+++ b/tests/language_strong/forwarding_factory_constructor_default_values_test.dart
@@ -18,14 +18,12 @@ class A {
factory A.a1({condition}) = _A1.boo;
test() {
- if(condition != true) {
+ if (condition != true) {
throw "FAILED";
- }
+ }
}
}
class _A1 extends A {
- _A1.boo({condition: true}):
- super(condition: condition);
+ _A1.boo({condition: true}) : super(condition: condition);
}
-

Powered by Google App Engine
This is Rietveld 408576698