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

Unified Diff: tests/language_strong/factory1_test.dart

Issue 2770063002: Revert "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
« no previous file with comments | « tests/language_strong/f_bounded_quantification_test.dart ('k') | tests/language_strong/factory2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_strong/factory1_test.dart
diff --git a/tests/language_strong/factory1_test.dart b/tests/language_strong/factory1_test.dart
index 05c3eb4867203caf701ff3e748800e8356d59732..bb1750482395a0753eed22096334871eb2dbabba 100644
--- a/tests/language_strong/factory1_test.dart
+++ b/tests/language_strong/factory1_test.dart
@@ -4,19 +4,20 @@
// 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
« no previous file with comments | « tests/language_strong/f_bounded_quantification_test.dart ('k') | tests/language_strong/factory2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698