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

Unified Diff: tests/language/generic_field_mixin6_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/generic_field_mixin6_test.dart
diff --git a/tests/language/generic_field_mixin6_test.dart b/tests/language/generic_field_mixin6_test.dart
index 6bdb624d90c0345131ca64d42244751c5f6538d1..664246a9042cd00aca6c660999a3eb8e8ca38b53 100644
--- a/tests/language/generic_field_mixin6_test.dart
+++ b/tests/language/generic_field_mixin6_test.dart
@@ -7,7 +7,7 @@
import 'package:expect/expect.dart';
class M<T> {
- T field = 0; /// 01: static type warning
+ T field = 0; //# 01: static type warning
}
class A<U> {}
class C1<V> = Object with M<V>;
@@ -15,12 +15,12 @@ class C2 = Object with M<int>;
class C3 = Object with M<String>;
main() {
- checkNoDynamicTypeError(() => new C1<int>()); // /// 01: continued
- checkDynamicTypeError(() => new C1<String>()); /// 01: continued
+ checkNoDynamicTypeError(() => new C1<int>()); // //# 01: continued
+ checkDynamicTypeError(() => new C1<String>()); //# 01: continued
- checkNoDynamicTypeError(() => new C2()); // /// 01: continued
+ checkNoDynamicTypeError(() => new C2()); // //# 01: continued
- checkDynamicTypeError(() => new C3()); // /// 01: continued
+ checkDynamicTypeError(() => new C3()); // //# 01: continued
}
/// Returns `true` if the program is running in checked mode.
« no previous file with comments | « tests/language/function_type_call_getter2_test.dart ('k') | tests/language/generic_function_typedef2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698