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

Unified Diff: tests/language/factory2_test.dart

Issue 2765693002: Update all tests (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/factory2_test.dart
diff --git a/tests/language/factory2_test.dart b/tests/language/factory2_test.dart
index 882ec7b303f391d4472622c47f6f0bbc74d67592..d2d3715bd904e3a3c4b3ddbebf50884d873240f4 100644
--- a/tests/language/factory2_test.dart
+++ b/tests/language/factory2_test.dart
@@ -6,7 +6,7 @@ import "dart:collection";
abstract class Link<T> extends IterableBase<T> {
// does not match constructor for LinkFactory
- factory Link(T head, [Link<T> tail]) = LinkFactory<T>; /// static type warning
+ factory Link(T head, [Link<T> tail]) = LinkFactory<T>; //# static type warning
Link<T> prepend(T element);
}
@@ -39,14 +39,14 @@ class LinkEntry<T> extends AbstractLink<T> {
class Fisk {
// instantiation of abstract class
- Link<String> nodes = const EmptyLink(); /// static type warning
+ Link<String> nodes = const EmptyLink(); //# static type warning
}
main() {
new Fisk();
// instantiation of abstract class
- new EmptyLink<String>().prepend('hest'); /// static type warning
+ new EmptyLink<String>().prepend('hest'); //# static type warning
// instantiation of abstract class
- const EmptyLink<String>().prepend('fisk'); /// static type warning
+ const EmptyLink<String>().prepend('fisk'); //# static type warning
}

Powered by Google App Engine
This is Rietveld 408576698