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

Unified Diff: pkg/docgen/test/single_library_test.dart

Issue 19638009: "Reverting 25160" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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
« pkg/docgen/lib/docgen.dart ('K') | « pkg/docgen/lib/docgen.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/docgen/test/single_library_test.dart
diff --git a/pkg/docgen/test/single_library_test.dart b/pkg/docgen/test/single_library_test.dart
index 6ff153985dd11b6f93fecf6594a9c88860c435a1..f00ddc4d2f40f6fd14723f493208212aae702fa4 100644
--- a/pkg/docgen/test/single_library_test.dart
+++ b/pkg/docgen/test/single_library_test.dart
@@ -54,11 +54,7 @@ main() {
includePrivate: true);
expect(library is Library, isTrue);
- var classTypes = library.classes.values;
- expect(classTypes.every((e) => e is Map), isTrue);
-
- var classes = [];
- classTypes.forEach((e) => classes.addAll(e.values));
+ var classes = library.classes.values;
expect(classes.every((e) => e is Class), isTrue);
var classMethodTypes = [];
« pkg/docgen/lib/docgen.dart ('K') | « pkg/docgen/lib/docgen.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698