Index: pkg/analysis_server/test/services/correction/assist_test.dart |
diff --git a/pkg/analysis_server/test/services/correction/assist_test.dart b/pkg/analysis_server/test/services/correction/assist_test.dart |
index 22bfe52c92e31a6cc8f973ee30bc74f61e08409c..ed3d7d33153d4776f817822777a1c7b187f2ca56 100644 |
--- a/pkg/analysis_server/test/services/correction/assist_test.dart |
+++ b/pkg/analysis_server/test/services/correction/assist_test.dart |
@@ -875,6 +875,32 @@ class A {} |
'AAA', DartAssistKind.CONVERT_DOCUMENTATION_INTO_BLOCK); |
} |
+ test_convertDocumentationIntoBlock_OK_noSpaceBeforeText() async { |
+ resolveTestUnit(''' |
+class A { |
+ /// AAAAA |
+ ///BBBBB |
+ /// |
+ /// CCCCC |
+ mmm() {} |
+} |
+'''); |
+ await assertHasAssistAt( |
+ 'AAAAA', |
+ DartAssistKind.CONVERT_DOCUMENTATION_INTO_BLOCK, |
+ ''' |
+class A { |
+ /** |
+ * AAAAA |
+ *BBBBB |
+ * |
+ * CCCCC |
+ */ |
+ mmm() {} |
+} |
+'''); |
+ } |
+ |
test_convertDocumentationIntoBlock_OK_onReference() async { |
resolveTestUnit(''' |
/// AAAAAAA [int] AAAAAAA |