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

Unified Diff: tests/language_strong/malbounded_redirecting_factory2_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_strong/malbounded_redirecting_factory2_test.dart
diff --git a/tests/language_strong/malbounded_redirecting_factory2_test.dart b/tests/language_strong/malbounded_redirecting_factory2_test.dart
index f459974d045ab3b338e1e8b78754e964f1e017f8..afb19c634bfef81cfc7eef681c9d8aa117158947 100644
--- a/tests/language_strong/malbounded_redirecting_factory2_test.dart
+++ b/tests/language_strong/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