diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-08-25 11:47:50 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-28 15:37:55 +0200 |
commit | 0e38d64aa84a90668f6e0e4e346e447f2349aa54 (patch) | |
tree | 103d57a5f861692cd0c58dd71f1c481de3b17e37 /plugins/base/src/test/kotlin/translators | |
parent | de809e8076b3cde06dc29328298112ed4a7026b3 (diff) | |
download | dokka-0e38d64aa84a90668f6e0e4e346e447f2349aa54.tar.gz dokka-0e38d64aa84a90668f6e0e4e346e447f2349aa54.tar.bz2 dokka-0e38d64aa84a90668f6e0e4e346e447f2349aa54.zip |
Fix presentation of code blocks in dokka html and dokka javadoc formats
Diffstat (limited to 'plugins/base/src/test/kotlin/translators')
-rw-r--r-- | plugins/base/src/test/kotlin/translators/JavadocParserTest.kt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/base/src/test/kotlin/translators/JavadocParserTest.kt b/plugins/base/src/test/kotlin/translators/JavadocParserTest.kt index 8ffcfb3c..0cd0a151 100644 --- a/plugins/base/src/test/kotlin/translators/JavadocParserTest.kt +++ b/plugins/base/src/test/kotlin/translators/JavadocParserTest.kt @@ -168,12 +168,12 @@ class JavadocParserTest : AbstractCoreTest() { val dateDescription = module.descriptionOf("Date2")!! val preTagContent = dateDescription.firstChildOfType<Pre>().firstChildOfType<Text>() val expectedText = """<androidx.fragment.app.FragmentContainerView - xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - android:id="@+id/fragment_container_view" - android:layout_width="match_parent" - android:layout_height="match_parent"> - </androidx.fragment.app.FragmentContainerView>""".trimIndent() + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@+id/fragment_container_view" + android:layout_width="match_parent" + android:layout_height="match_parent"> +</androidx.fragment.app.FragmentContainerView>""".trimIndent() assertEquals(expectedText.trim(), preTagContent.body.trim()) } } |