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

Unified Diff: tests/language_strong/malformed_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_strong/malformed_inheritance_test.dart ('k') | tests/language_strong/map_literal1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_strong/malformed_test.dart
diff --git a/tests/language_strong/malformed_test.dart b/tests/language_strong/malformed_test.dart
index ca438686f142d268a1deb89eaaa03a414fa20cd9..23ba383ef5802c2cee17df359580ff2e8283e3aa 100644
--- a/tests/language_strong/malformed_test.dart
+++ b/tests/language_strong/malformed_test.dart
@@ -76,7 +76,7 @@ void main() {
checkAsListUnresolved(true, new List<int, String>());
checkIsListDynamic(true, []);
- checkIsListDynamic(true, <>[]); /// 01: compile-time error
+ checkIsListDynamic(true, <>[]); //# 01: compile-time error
checkIsListDynamic(false, <int>[]);
checkIsListDynamic(true, <Unresolved>[]);
checkIsListDynamic(true, <Unresolved<int>>[]);
@@ -85,7 +85,7 @@ void main() {
checkIsListDynamic(true, <int, String>[]);
checkIsListDynamic(true, new List());
- checkIsListDynamic(true, new List<>()); /// 02: compile-time error
+ checkIsListDynamic(true, new List<>()); //# 02: compile-time error
checkIsListDynamic(true, new List<Unresolved>());
checkIsListDynamic(true, new List<Unresolved<int>>());
checkIsListDynamic(true, new List<prefix.Unresolved>());
@@ -94,7 +94,7 @@ void main() {
checkIsMapDynamic(true, true, <dynamic, dynamic>{});
checkIsMapDynamic(true, true, {});
- checkIsMapDynamic(true, true, <>{}); /// 03: compile-time error
+ checkIsMapDynamic(true, true, <>{}); //# 03: compile-time error
checkIsMapDynamic(true, true, <int>{});
checkIsMapDynamic(false, false, <String, int>{});
checkIsMapDynamic(true, true, <String, int, String>{});
@@ -104,7 +104,7 @@ void main() {
checkIsMapDynamic(false, true, <String, prefix.Unresolved<int>>{});
checkIsMapDynamic(true, true, new Map());
- checkIsMapDynamic(true, true, new Map<>); /// 04: compile-time error
+ checkIsMapDynamic(true, true, new Map<>); //# 04: compile-time error
checkIsMapDynamic(true, true, new Map<int>());
checkIsMapDynamic(false, false, new Map<String, int>());
checkIsMapDynamic(true, true, new Map<String, int, String>());
@@ -163,7 +163,7 @@ void main() {
try {
throw 'foo';
}
- on undeclared_prefix.Unresolved<int> // /// 06: runtime error
+ on undeclared_prefix.Unresolved<int> // //# 06: runtime error
catch (e) {
}
}
« no previous file with comments | « tests/language_strong/malformed_inheritance_test.dart ('k') | tests/language_strong/map_literal1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698