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

Unified Diff: tests/language/issue10561_test.dart

Issue 23859008: Convert HashSet, LinkedHashSet to factory methods and custom implementations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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: tests/language/issue10561_test.dart
diff --git a/tests/language/issue10561_test.dart b/tests/language/issue10561_test.dart
index 7ff80be50f5224fc1602dc5a285c80d004d47261..24c308c9573e4fbe400d4821e49b9b0ed23e99f4 100644
--- a/tests/language/issue10561_test.dart
+++ b/tests/language/issue10561_test.dart
@@ -9,9 +9,9 @@ import "package:expect/expect.dart";
import 'dart:collection';
-class Foo extends HashSet {
+class Foo extends Expando {
}
main() {
- Expect.equals(0, new Foo().length);
+ Expect.isNull(new Foo()[new Object()]);
}

Powered by Google App Engine
This is Rietveld 408576698