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

Unified Diff: tests/language_strong/factory2_negative_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/factory2_negative_test.dart
diff --git a/tests/language_strong/factory2_negative_test.dart b/tests/language_strong/factory2_negative_test.dart
index 44bdcb4eb4320b83e22e6814e28d794b1ffe6803..3029aed392b4356dcddffa7282ff65e751448be1 100644
--- a/tests/language_strong/factory2_negative_test.dart
+++ b/tests/language_strong/factory2_negative_test.dart
@@ -8,12 +8,13 @@ abstract class Link<T> {
factory Link.create() = LinkFactory<T>.create;
}
-class LinkFactory { // Compile time error: should be LinkFactory<T> to match abstract class above
+class LinkFactory {
+ // Compile time error: should be LinkFactory<T> to match abstract class above
factory Link.create() {
return null;
}
}
main() {
- var a = new Link.create(); // Equivalent to new Link<dynamic>.create().
+ var a = new Link.create(); // Equivalent to new Link<dynamic>.create().
}

Powered by Google App Engine
This is Rietveld 408576698