diff options
author | Vadim Mishenev <vad-mishenev@yandex.ru> | 2022-09-26 16:33:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 16:33:24 +0300 |
commit | a816e917995858129ad074409f73e99d3b100318 (patch) | |
tree | 746bbe15a2055642179c2aa9ab4e3580c9cf95bb /plugins/base/src/test/kotlin/translators | |
parent | a0250a5d8188fd539ffe516f7c49ce0eed1d3ded (diff) | |
download | dokka-a816e917995858129ad074409f73e99d3b100318.tar.gz dokka-a816e917995858129ad074409f73e99d3b100318.tar.bz2 dokka-a816e917995858129ad074409f73e99d3b100318.zip |
Trim four spaces inside indented code block (#2661)
* Trim four spaces inside indented code block
* Fix test
Diffstat (limited to 'plugins/base/src/test/kotlin/translators')
-rw-r--r-- | plugins/base/src/test/kotlin/translators/DefaultDescriptorToDocumentableTranslatorTest.kt | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/plugins/base/src/test/kotlin/translators/DefaultDescriptorToDocumentableTranslatorTest.kt b/plugins/base/src/test/kotlin/translators/DefaultDescriptorToDocumentableTranslatorTest.kt index 5c57c403..fe1a42c8 100644 --- a/plugins/base/src/test/kotlin/translators/DefaultDescriptorToDocumentableTranslatorTest.kt +++ b/plugins/base/src/test/kotlin/translators/DefaultDescriptorToDocumentableTranslatorTest.kt @@ -5,7 +5,6 @@ import org.jetbrains.dokka.base.testApi.testRunner.BaseAbstractTest import org.jetbrains.dokka.links.DRI import org.jetbrains.dokka.model.* import org.jetbrains.dokka.model.doc.* -import org.junit.Assert import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Assertions.assertNull import org.junit.jupiter.api.Disabled @@ -148,15 +147,15 @@ class DefaultDescriptorToDocumentableTranslatorTest : BaseAbstractTest() { CodeBlock( children = listOf( Text( - """ val soapAttrs = attrs("soap-env" to "http://www.w3.org/2001/12/soap-envelope", - "soap-env:encodingStyle" to "http://www.w3.org/2001/12/soap-encoding") - val soapXml = node("soap-env:Envelope", soapAttrs, - node("soap-env:Body", attrs("xmlns:m" to "http://example"), - node("m:GetExample", - node("m:GetExampleName", "BasePair") - ) + """val soapAttrs = attrs("soap-env" to "http://www.w3.org/2001/12/soap-envelope", + "soap-env:encodingStyle" to "http://www.w3.org/2001/12/soap-encoding") +val soapXml = node("soap-env:Envelope", soapAttrs, + node("soap-env:Body", attrs("xmlns:m" to "http://example"), + node("m:GetExample", + node("m:GetExampleName", "BasePair") ) - )""" + ) +)""" ) ) ) |