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

Unified Diff: tests/language/generic_function_typedef2_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
« no previous file with comments | « tests/language/generic_field_mixin6_test.dart ('k') | tests/language/generic_metadata_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/generic_function_typedef2_test.dart
diff --git a/tests/language/generic_function_typedef2_test.dart b/tests/language/generic_function_typedef2_test.dart
index 5dab10d9efe623f3f963e4e0ddc129979e2e72a1..d0fac0c4d19fdabf42b283c5209c7442fab5ef91 100644
--- a/tests/language/generic_function_typedef2_test.dart
+++ b/tests/language/generic_function_typedef2_test.dart
@@ -9,33 +9,33 @@ class A {}
typedef int F();
-typedef G = F; /// 00: compile-time error
-typedef H = int; /// 01: compile-time error
-typedef I = A; /// 02: compile-time error
-typedef J = List<int>; /// 03: compile-time error
+typedef G = F; //# 00: compile-time error
+typedef H = int; //# 01: compile-time error
+typedef I = A; //# 02: compile-time error
+typedef J = List<int>; //# 03: compile-time error
typedef K = Function(Function<A>(A
- <int> // /// 04: static type warning
+ <int> // //# 04: static type warning
));
typedef L = Function({
- /* // /// 05: compile-time error
+ /* // //# 05: compile-time error
bool
- */ // /// 05: compile-time error
+ */ // //# 05: compile-time error
x});
typedef M = Function({
- /* // /// 06: compile-time error
+ /* // //# 06: compile-time error
bool
- */ // /// 06: compile-time error
+ */ // //# 06: compile-time error
int});
foo({bool int}) {}
main() {
bool b = true;
- Expect.isFalse(b is G); // /// 00: continued
- Expect.isFalse(b is H); // /// 01: continued
- Expect.isFalse(b is I); // /// 02: continued
- Expect.isFalse(b is J); // /// 03: continued
- Expect.isFalse(b is K); // /// 04: continued
+ Expect.isFalse(b is G); // //# 00: continued
+ Expect.isFalse(b is H); // //# 01: continued
+ Expect.isFalse(b is I); // //# 02: continued
+ Expect.isFalse(b is J); // //# 03: continued
+ Expect.isFalse(b is K); // //# 04: continued
Expect.isFalse(b is L);
Expect.isFalse(b is M);
Expect.isTrue(foo is M);
« no previous file with comments | « tests/language/generic_field_mixin6_test.dart ('k') | tests/language/generic_metadata_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698