Skip to content

Commit

Permalink
Fix Modules are inconsistent #3239
Browse files Browse the repository at this point in the history
  • Loading branch information
vmishenev committed Oct 25, 2023
1 parent 545d921 commit b1541fe
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ class MultiplatformConfiguredCheckerTest : BaseAbstractTest() {
format = "javadoc"
sourceSets {
sourceSet {
sourceRoots = listOf("src")
sourceRoots = listOf("src/jvm")
analysisPlatform = "jvm"
externalDocumentationLinks = listOf(
ExternalDocumentationLink("https://docs.oracle.com/javase/8/docs/api/"),
ExternalDocumentationLink("https://kotlinlang.org/api/latest/jvm/stdlib/")
)
}
sourceSet {
sourceRoots = listOf("src")
sourceRoots = listOf("src/js")
analysisPlatform = "js"
externalDocumentationLinks = listOf(
ExternalDocumentationLink("https://docs.oracle.com/javase/8/docs/api/"),
Expand Down Expand Up @@ -54,7 +54,9 @@ class MultiplatformConfiguredCheckerTest : BaseAbstractTest() {
fun `mpp config should fail for javadoc`() {
testInline(
"""
|/src/main/kotlin/example/Test.kt
|/src/jvm/kotlin/example/Test.kt
|class Test
|/src/js/kotlin/example/Test.kt
|class Test
""".trimMargin(), mppConfig
) {
Expand Down

0 comments on commit b1541fe

Please sign in to comment.