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

Unified Diff: tests/corelib/list_map_test.dart

Issue 55533002: Fix some corelib tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Minor updates Created 7 years, 2 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/corelib/iterable_test.dart ('k') | tests/corelib/map_keys2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/list_map_test.dart
diff --git a/tests/corelib/list_map_test.dart b/tests/corelib/list_map_test.dart
index 8bd05eb1c64969e2e3f3f7da753315797793ecd2..947f40ad3d3cc5f5d723fbb556599cf4b74ceaea 100644
--- a/tests/corelib/list_map_test.dart
+++ b/tests/corelib/list_map_test.dart
@@ -20,7 +20,7 @@ void testOperations() {
// Function that reverses l and r lists when used to map.
int rev(x) => 11 - x;
// A base list that starts out like l, but isn't const.
- Iterable base = l.map((x) => x).toList();
+ List base = l.map((x) => x).toList();
Iterable reversed = l.map(rev);
« no previous file with comments | « tests/corelib/iterable_test.dart ('k') | tests/corelib/map_keys2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698