Index: pkg/analyzer/test/src/task/incremental_element_builder_test.dart |
diff --git a/pkg/analyzer/test/src/task/incremental_element_builder_test.dart b/pkg/analyzer/test/src/task/incremental_element_builder_test.dart |
index 99bc6aad11c6f00df2b03fc59b9913c58cfbe20b..0e675176fb38a09094551b38b007a4846cf94c69 100644 |
--- a/pkg/analyzer/test/src/task/incremental_element_builder_test.dart |
+++ b/pkg/analyzer/test/src/task/incremental_element_builder_test.dart |
@@ -1751,6 +1751,18 @@ class A { |
'''); |
} |
+ test_update_commentReference_new() { |
+ _buildOldUnit(r''' |
+/// Comment reference with new [new A]. |
+class A {} |
+'''); |
+ _buildNewUnit(r''' |
+class B {} |
+/// Comment reference with new [new A]. |
+class A {} |
+'''); |
+ } |
+ |
test_update_commentReference_notClosed() { |
_buildOldUnit(r''' |
/// [c) |