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

Unified Diff: pkg/collection/test/wrapper_test.dart

Issue 288103003: Change Set.toSet to always return a set with the same behavior. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Change .clone() to use .toSet(). Update docs. Created 6 years, 7 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/collection/test/wrapper_test.dart
diff --git a/pkg/collection/test/wrapper_test.dart b/pkg/collection/test/wrapper_test.dart
index 86a0ddd1b349621550f2afcc2d647f340ee61b3d..70a70f464bfa0b6dd16634fc9018f6d9d133d6f7 100644
--- a/pkg/collection/test/wrapper_test.dart
+++ b/pkg/collection/test/wrapper_test.dart
@@ -223,6 +223,7 @@ void main() {
expect.add(val).equals.add(val);
expect.addAll([val]).equals.addAll([val]);
expect.clear().equals.clear();
+ expect.cloneEmpty().equals.cloneEmpty();
expect.containsAll([val]).equals.containsAll([val]);
expect.difference(set).equals.difference(set);
expect.intersection(set).equals.intersection(set);

Powered by Google App Engine
This is Rietveld 408576698