Index: tests/language/default_factory_test.dart |
diff --git a/tests/language/default_factory_test.dart b/tests/language/default_factory_test.dart |
index 820d741d9320f7a40fac26f1ccf27b2129e7b424..83682bbadf8dd0edc65d66f2f9d9707b19c572d5 100644 |
--- a/tests/language/default_factory_test.dart |
+++ b/tests/language/default_factory_test.dart |
@@ -10,24 +10,24 @@ abstract class Vehicle { |
factory Vehicle() = GoogleOne.Vehicle; //# 01: static type warning |
} |
- |
class Bike implements Vehicle, GoogleOne { |
Bike.redOne() {} |
} |
- |
abstract class SpaceShip { |
factory SpaceShip() = GoogleOne; |
} |
- |
class GoogleOne implements SpaceShip { |
GoogleOne.internal_() {} |
- factory GoogleOne() { return new GoogleOne.internal_(); } |
- factory GoogleOne.Vehicle() { return new Bike.redOne(); } |
+ factory GoogleOne() { |
+ return new GoogleOne.internal_(); |
+ } |
+ factory GoogleOne.Vehicle() { |
+ return new Bike.redOne(); |
+ } |
} |
- |
main() { |
Expect.equals(true, (new Bike.redOne()) is Bike); |
Expect.equals(true, (new SpaceShip()) is GoogleOne); |