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

Unified Diff: tests/language/issue9949_test.dart

Issue 23451045: Revert "Convert HashSet, LinkedHashSet to factory methods and custom implementations." (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 46c73d21892eb654f9caa3143da3ad552fd311e1..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 Expando<String> {
+class Crash extends HashSet<String> {
Crash(): super();
}
void main() {
- Crash expando = new Crash();
- Expect.isTrue(expando is Expando);
+ Crash map = new Crash();
+ 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