Index: pkg/analyzer/test/src/summary/summary_common.dart |
diff --git a/pkg/analyzer/test/src/summary/summary_common.dart b/pkg/analyzer/test/src/summary/summary_common.dart |
index 5d9d9a780d35e3d0c19c47facdf598b506528cd6..ca386ff88afe08c9e74538cb96be9b05bbcea1cc 100644 |
--- a/pkg/analyzer/test/src/summary/summary_common.dart |
+++ b/pkg/analyzer/test/src/summary/summary_common.dart |
@@ -286,6 +286,8 @@ abstract class SummaryTest { |
String expectedCommentText = |
text.substring(commentStart, commentEnd).replaceAll('\r\n', '\n'); |
expect(documentationComment.text, expectedCommentText); |
+ expect(documentationComment.offset, commentStart); |
+ expect(documentationComment.length, commentEnd - commentStart); |
} |
/** |