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

Unified Diff: tests/html/element_test.dart

Issue 11414069: Make mappedBy lazy. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error. Created 8 years, 1 month 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/html/element_test.dart
diff --git a/tests/html/element_test.dart b/tests/html/element_test.dart
index 45ad1f0dec4032f49d82e3dae272f517b7cbff4f..1b738bd5c1e1ffdc0d5d7cd2f5f15d5bbbf23b00 100644
--- a/tests/html/element_test.dart
+++ b/tests/html/element_test.dart
@@ -644,7 +644,7 @@ main() {
});
test('map', () {
- var texts = getQueryAll().mappedBy((el) => el.text);
+ var texts = getQueryAll().mappedBy((el) => el.text).toList();
expect(texts, equals(['Dart!', 'Hello', '']));
});

Powered by Google App Engine
This is Rietveld 408576698