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

Unified Diff: tests/language/issue9949_test.dart

Issue 23872008: Reapply "Make LinkedHashMap also have a factory constructor and be customizable"" (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
« no previous file with comments | « tests/language/issue10561_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/issue9949_test.dart
diff --git a/tests/language/issue9949_test.dart b/tests/language/issue9949_test.dart
index e161d5a3153c59b32818b1f305e42e2a3a556f4d..d5df0ca45b609c8fbf5e17317df97af1ff81e003 100644
--- a/tests/language/issue9949_test.dart
+++ b/tests/language/issue9949_test.dart
@@ -8,11 +8,11 @@
import "package:expect/expect.dart";
import 'dart:collection';
-class Crash extends LinkedHashMap<String,String> {
+class Crash extends HashSet<String> {
Crash(): super();
}
void main() {
Crash map = new Crash();
- Expect.isTrue(map is LinkedHashMap);
+ Expect.isTrue(map is HashSet);
}
« no previous file with comments | « tests/language/issue10561_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698