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

Unified Diff: tests/language_strong/parameter_initializer_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/parameter_initializer_test.dart
diff --git a/tests/language_strong/parameter_initializer_test.dart b/tests/language_strong/parameter_initializer_test.dart
index e81ff9755238c788bbaa25ec64b321c1b4ef1032..cde9c2ca7772469cbaec77bbb7d887f4939c0d8f 100644
--- a/tests/language_strong/parameter_initializer_test.dart
+++ b/tests/language_strong/parameter_initializer_test.dart
@@ -5,9 +5,7 @@
import "package:expect/expect.dart";
class ParameterInitializerTest {
-
static testMain() {
-
var obj = new Foo.untyped(1);
Expect.equals(1, obj.x);
@@ -50,7 +48,9 @@ class Foo {
}
class SubFoo extends Foo {
- SubFoo(num y) : super(y), x_ = 0 {
+ SubFoo(num y)
+ : super(y),
+ x_ = 0 {
// Subfoo.setter of x has been invoked in the Foo constructor.
Expect.equals(x, 1);
Expect.equals(x_, 1);

Powered by Google App Engine
This is Rietveld 408576698