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

Unified Diff: tests/language/factory6_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/factory6_test.dart
diff --git a/tests/language/factory6_test.dart b/tests/language/factory6_test.dart
index 0f998ff253d1342027c97eaacb05d97025588f4c..bcc710797edbb3b54b3d62e461098be84d26235d 100644
--- a/tests/language/factory6_test.dart
+++ b/tests/language/factory6_test.dart
@@ -5,13 +5,13 @@
import 'package:expect/expect.dart';
abstract class Link<T> {
- factory Link.Foo() = LinkFactory<T>.Foo; /// 00: static type warning
+ factory Link.Foo() = LinkFactory<T>.Foo; //# 00: static type warning
}
class LinkFactory<T> {
- factory LinkFactory.Foo() = Foo<T>; /// 00: continued
+ factory LinkFactory.Foo() = Foo<T>; //# 00: continued
}
main() {
- Expect.throws(() => new Link<int>.Foo()); /// 00: continued
+ Expect.throws(() => new Link<int>.Foo()); //# 00: continued
}

Powered by Google App Engine
This is Rietveld 408576698