diff --git a/idea/testData/wordSelection/DocComment/3.kt b/idea/testData/wordSelection/DocComment/3.kt
index 442d16b056f..c8344f7e538 100644
--- a/idea/testData/wordSelection/DocComment/3.kt
+++ b/idea/testData/wordSelection/DocComment/3.kt
@@ -1,9 +1,9 @@
package p
-/**
+/**
* Doc comment here
- */
-fun foo() {
+ */
+fun foo() {
}
fun bar(){}
\ No newline at end of file
diff --git a/idea/testData/wordSelection/DocComment/5.kt b/idea/testData/wordSelection/DocComment/5.kt
new file mode 100644
index 00000000000..f2d8103a3f3
--- /dev/null
+++ b/idea/testData/wordSelection/DocComment/5.kt
@@ -0,0 +1,9 @@
+package p
+
+/**
+ * Doc comment here
+ */
+fun foo() {
+}
+
+fun bar(){}
\ No newline at end of file