aboutsummaryrefslogtreecommitdiff
path: root/plugins/javadoc/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/javadoc/src/test')
-rw-r--r--plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt
index 18bc69ff..463ad7fd 100644
--- a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt
+++ b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt
@@ -33,7 +33,7 @@ internal class JavadocClasslikeTemplateMapTest : AbstractJavadocTemplateMapTest(
assertEquals("TestClass", map["name"])
assertEquals("TestClass", map["title"])
assertEquals("com.test.package0", map["packageName"])
- assertEquals("Documentation for TestClass", map["classlikeDocumentation"])
+ assertEquals("<p>Documentation for TestClass</p>", map["classlikeDocumentation"])
assertEquals("Documentation for TestClass", map["subtitle"])
assertEquals("public final class <a href=TestClass.html>TestClass</a>", map.signatureWithModifiers())
}
@@ -78,7 +78,7 @@ internal class JavadocClasslikeTemplateMapTest : AbstractJavadocTemplateMapTest(
assertEquals("TestClass", map["name"])
assertEquals("TestClass", map["title"])
assertEquals("com.test.package0", map["packageName"])
- assertEquals("Documentation for TestClass", map["classlikeDocumentation"])
+ assertEquals("<p>Documentation for TestClass</p>", map["classlikeDocumentation"])
assertEquals("Documentation for TestClass", map["subtitle"])
assertEquals("public final class", map.modifiers())
assertEquals("<a href=TestClass.html>TestClass</a>", map.signatureWithoutModifiers())
@@ -200,8 +200,8 @@ internal class JavadocClasslikeTemplateMapTest : AbstractJavadocTemplateMapTest(
assertEquals(2, entries.size)
val (first, second) = entries
- assertEquals("Sample docs for first", first["brief"])
- assertEquals("Sample docs for second", second["brief"])
+ assertEquals("<p>Sample docs for first</p>", first["brief"])
+ assertEquals("<p>Sample docs for second</p>", second["brief"])
assertEquals("<a href=ClockDays.html#FIRST>FIRST</a>", first.signatureWithoutModifiers())
assertEquals("<a href=ClockDays.html#SECOND>SECOND</a>", second.signatureWithoutModifiers())