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 86f181bdd028e116008c3d4226f0b517aacd0654..8d495afae6345dd3a21a0155b522e12c66b94cf9 100644 |
--- a/pkg/analyzer/test/src/task/incremental_element_builder_test.dart |
+++ b/pkg/analyzer/test/src/task/incremental_element_builder_test.dart |
@@ -1623,7 +1623,7 @@ f2() { |
'''); |
} |
- test_update_emptyCommentReference() { |
+ test_update_commentReference_empty() { |
_buildOldUnit(r''' |
/// Empty [] reference. |
class A {} |
@@ -1634,6 +1634,18 @@ class A {} |
'''); |
} |
+ test_update_commentReference_notClosed() { |
+ _buildOldUnit(r''' |
+/// [c) |
+class A {} |
+'''); |
+ _buildNewUnit(r''' |
+int a; |
+/// [c) |
+class A {} |
+'''); |
+ } |
+ |
test_update_rewrittenConstructorName() { |
_buildOldUnit(r''' |
class A { |