| Index: tests/language_strong/parameter_initializer2_test.dart
|
| diff --git a/tests/language_strong/parameter_initializer2_test.dart b/tests/language_strong/parameter_initializer2_test.dart
|
| index 7897f93d1d33b633811fe8d754a256ead8a6b44b..ac5e0ce117244821e78c6623d7dd79e31eab24f6 100644
|
| --- a/tests/language_strong/parameter_initializer2_test.dart
|
| +++ b/tests/language_strong/parameter_initializer2_test.dart
|
| @@ -6,7 +6,6 @@ import "package:expect/expect.dart";
|
|
|
| // Test Parameter Intializer.
|
|
|
| -
|
| class ParameterInitializer2Test {
|
| static testMain() {
|
| var a = new A(123);
|
| @@ -24,22 +23,20 @@ class ParameterInitializer2Test {
|
| var e = new E(1);
|
| Expect.equals(4, e.x);
|
|
|
| - var f = new F(1,2,3,4);
|
| + var f = new F(1, 2, 3, 4);
|
| Expect.equals(4, f.z);
|
| }
|
| }
|
|
|
| // untyped
|
| class A {
|
| - A(this.x) {
|
| - }
|
| + A(this.x) {}
|
| int x;
|
| }
|
|
|
| // typed
|
| class B {
|
| - B(int this.x) {
|
| - }
|
| + B(int this.x) {}
|
| int x;
|
| }
|
|
|
| @@ -66,11 +63,12 @@ class E {
|
| int x;
|
| }
|
|
|
| -
|
| // mixed
|
| class F {
|
| - F(x, this.y_, int w, int this.z) : x_ = x, w_ = w { }
|
| - F.foobar(this.z, int this.x_, int this.az_) { }
|
| + F(x, this.y_, int w, int this.z)
|
| + : x_ = x,
|
| + w_ = w {}
|
| + F.foobar(this.z, int this.x_, int this.az_) {}
|
| int x_;
|
| int y_;
|
| int w_;
|
| @@ -78,7 +76,6 @@ class F {
|
| int az_;
|
| }
|
|
|
| -
|
| main() {
|
| ParameterInitializer2Test.testMain();
|
| }
|
|
|