Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
vmishenev committed Sep 8, 2022
1 parent 42aea80 commit 048258e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
10 changes: 5 additions & 5 deletions plugins/base/src/test/kotlin/markdown/ParserTest.kt
Expand Up @@ -1340,11 +1340,11 @@ class ParserTest : KDocTest() {
CodeBlock(
listOf(
Text(
" val x = 1\n" +
" val y = 2\n" +
" if (x == 1) {\n" +
" println(y)\n" +
" }"
"val x = 1\n" +
"val y = 2\n" +
"if (x == 1) {\n" +
" println(y)\n" +
"}"
)
)
)
Expand Down
Expand Up @@ -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
Expand Down Expand Up @@ -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")
)
)"""
)
)"""
)
)
)
Expand Down

0 comments on commit 048258e

Please sign in to comment.