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

Unified Diff: tests/corelib_strong/list_map_test.dart

Issue 2683893002: Make corelib_strong tests strong-mode compliant (Closed)
Patch Set: Created 3 years, 10 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/corelib_strong/list_map_test.dart
diff --git a/tests/corelib_strong/list_map_test.dart b/tests/corelib_strong/list_map_test.dart
index a5f48a8f1ac008a3bba6c6357f9462ac38f6f7a3..4addcc7e19689b822d9505af5cd83fea4358350b 100644
--- a/tests/corelib_strong/list_map_test.dart
+++ b/tests/corelib_strong/list_map_test.dart
@@ -56,7 +56,7 @@ void testOperations() {
for (int i = 0; i < list.length; i++) {
mappedList[i] = rev(list[i]);
}
- Iterable reversed = list.map(rev);
+ Iterable<int> reversed = list.map(rev);
void testEquals(v1, v2, path) {
if (v1 is Iterable) {

Powered by Google App Engine
This is Rietveld 408576698