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

Unified Diff: tests/language/malbounded_redirecting_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/malbounded_redirecting_factory2_test.dart
diff --git a/tests/language/malbounded_redirecting_factory2_test.dart b/tests/language/malbounded_redirecting_factory2_test.dart
index cac0c0a57cf3fee350b33cb42ab44cb5939a1cd9..3276168466f2aabebdf7726695d6b37aa2e87555 100644
--- a/tests/language/malbounded_redirecting_factory2_test.dart
+++ b/tests/language/malbounded_redirecting_factory2_test.dart
@@ -5,17 +5,17 @@
import 'package:expect/expect.dart';
class A<Ta
- extends num /// 02: continued
+ extends num //# 02: continued
> implements B<Ta>, C<Ta> { }
class B<Tb
- extends num /// 03: continued
+ extends num //# 03: continued
> {
factory B() = A<Tb>;
}
class C<Tc
- extends num /// 04: continued
+ extends num //# 04: continued
> {
factory C() = B<Tc>;
}
@@ -26,8 +26,8 @@ class D<Td> {
main() {
new D<int>().test();
- new D<String>().test(); /// 01: static type warning
- new D<String>().test(); /// 02: static type warning, dynamic type error
- new D<String>().test(); /// 03: static type warning, dynamic type error
- new D<String>().test(); /// 04: static type warning, dynamic type error
+ new D<String>().test(); //# 01: static type warning
+ new D<String>().test(); //# 02: static type warning, dynamic type error
+ new D<String>().test(); //# 03: static type warning, dynamic type error
+ new D<String>().test(); //# 04: static type warning, dynamic type error
}

Powered by Google App Engine
This is Rietveld 408576698