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

Unified Diff: tests/language/factory1_test.dart

Issue 2768073002: Format all multitests (Closed)
Patch Set: Created 3 years, 9 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/factory1_test.dart
diff --git a/tests/language/factory1_test.dart b/tests/language/factory1_test.dart
index bb1750482395a0753eed22096334871eb2dbabba..05c3eb4867203caf701ff3e748800e8356d59732 100644
--- a/tests/language/factory1_test.dart
+++ b/tests/language/factory1_test.dart
@@ -4,20 +4,19 @@
// Dart test program for testing factory generic result types.
class A<T> {
- A() { }
+ A() {}
factory A.factory() {
return new A<String>();
}
}
class B<T> extends A<T> {
- B() { }
+ B() {}
factory B.factory() {
return new B<String>();
}
}
-
main() {
new A<String>.factory();
new A<int>.factory(); // //# 00: dynamic type error

Powered by Google App Engine
This is Rietveld 408576698