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

Unified Diff: pkg/polymer_expressions/test/eval_test.dart

Issue 24096016: PolymerExpressions: fix for null iterators in comprehensions (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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: pkg/polymer_expressions/test/eval_test.dart
diff --git a/pkg/polymer_expressions/test/eval_test.dart b/pkg/polymer_expressions/test/eval_test.dart
index ece439689b91df395ea137acb8550be6ba7f45a9..6be36e46c0159ddbdbe9a3f7df34a6d9adb72bb6 100644
--- a/pkg/polymer_expressions/test/eval_test.dart
+++ b/pkg/polymer_expressions/test/eval_test.dart
@@ -197,7 +197,7 @@ main() {
var scope = new Scope(variables: {'items': null});
var comprehension = eval(parse('item in items'), scope);
expect(comprehension, isNotNull);
- expect(comprehension.iterable, null);
+ expect(comprehension.iterable, []]);
});
});

Powered by Google App Engine
This is Rietveld 408576698