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

Unified Diff: tests/language/malformed_test.dart

Issue 2765693002: Update all tests (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/malformed_test.dart
diff --git a/tests/language/malformed_test.dart b/tests/language/malformed_test.dart
index e43ee7a3172faa4264697e9901878ba030305c05..4668f4b9d794bdd13b3efaa448afce1374383e38 100644
--- a/tests/language/malformed_test.dart
+++ b/tests/language/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) {
}
}

Powered by Google App Engine
This is Rietveld 408576698