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

Unified Diff: tests/language/malbounded_redirecting_factory_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of 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
Index: tests/language/malbounded_redirecting_factory_test.dart
diff --git a/tests/language/malbounded_redirecting_factory_test.dart b/tests/language/malbounded_redirecting_factory_test.dart
index 1c9b8de22f8a98cd83ace5a6945ee313173f3906..0ce6d0ac8562323a71f3e945fd00994dbe5f543d 100644
--- a/tests/language/malbounded_redirecting_factory_test.dart
+++ b/tests/language/malbounded_redirecting_factory_test.dart
@@ -5,25 +5,25 @@
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>;
}
main() {
new C<int>();
- new C<String>(); // /// 01: static type warning
- new C<String>(); // /// 02: static type warning, dynamic type error
- new C<String>(); // /// 03: static type warning, dynamic type error
- new C<String>(); // /// 04: static type warning, dynamic type error
+ new C<String>(); // //# 01: static type warning
+ new C<String>(); // //# 02: static type warning, dynamic type error
+ new C<String>(); // //# 03: static type warning, dynamic type error
+ new C<String>(); // //# 04: static type warning, dynamic type error
}
« no previous file with comments | « tests/language/malbounded_redirecting_factory2_test.dart ('k') | tests/language/malbounded_type_cast2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698