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

Unified Diff: tests/language_strong/async_return_types_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/async_return_types_test.dart
diff --git a/tests/language_strong/async_return_types_test.dart b/tests/language_strong/async_return_types_test.dart
index 83eb9a8d992f441ece1e655ef2cece1056798739..103a9f2fb1f9cef876321b71b99ad7d1f0b75273 100644
--- a/tests/language_strong/async_return_types_test.dart
+++ b/tests/language_strong/async_return_types_test.dart
@@ -14,18 +14,18 @@ Future<int> foo2() async {
return 3;
}
-Future<int> /// wrongTypeParameter: static type warning
+Future<int> //# wrongTypeParameter: static type warning
foo3() async {
return "String";
}
// Future<int, String> is treated like Future<dynamic>
-Future<int, String> /// tooManyTypeParameters: static type warning
+Future<int, String> //# tooManyTypeParameters: static type warning
foo4() async {
return "String";
}
-int /// wrongReturnType: static type warning, dynamic type error
+int //# wrongReturnType: static type warning, dynamic type error
foo5() async {
return 3;
}
@@ -35,7 +35,7 @@ Future<int> foo6() async {
return new Future<int>.value(3);
}
-Future<Future<int>> /// nestedFuture: static type warning
+Future<Future<int>> //# nestedFuture: static type warning
foo7() async {
return new Future<int>.value(3);
}
« no previous file with comments | « tests/language_strong/async_or_generator_return_type_stacktrace_test.dart ('k') | tests/language_strong/async_star_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698