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

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

Issue 243633005: pkg/docgen: fixed some references within typedef doc comments (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: cl nit Created 6 years, 8 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 | « pkg/docgen/lib/src/models/typedef.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/typedef_test.dart
diff --git a/pkg/docgen/test/typedef_test.dart b/pkg/docgen/test/typedef_test.dart
index 9911f0852193d75afc4c54d23cc298ab5a67817f..fcbcc313a205effbd38f323df5b0dcfc634d4d98 100644
--- a/pkg/docgen/test/typedef_test.dart
+++ b/pkg/docgen/test/typedef_test.dart
@@ -52,12 +52,14 @@ void main() {
var typeDefs = classes['typedef'] as Map<String, dynamic>;
var comparator = typeDefs['AnATransformer'] as Map<String, dynamic>;
- var expectedPreview = '<p>Processes a [C] instance for testing.</p>';
+ var expectedPreview =
+ '<p>Processes a <a>test_lib-bar.C</a> instance for testing.</p>';
expect(comparator['preview'], expectedPreview);
var expectedComment = expectedPreview + '\n'
- '<p>To eliminate import warnings for [A] and to test typedefs.</p>';
+ '<p>To eliminate import warnings for <a>test_lib.A</a> and to test '
+ 'typedefs.</p>';
expect(comparator['comment'], expectedComment);
});
« no previous file with comments | « pkg/docgen/lib/src/models/typedef.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698