aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/linkableContent
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2023-08-31 16:02:13 +0200
committerGitHub <noreply@github.com>2023-08-31 16:02:13 +0200
commit6a181a7a2b03ec263788d137610e86937a57d434 (patch)
tree22368589814dad150ad6de243cc2da3cdff926a6 /plugins/base/src/test/kotlin/linkableContent
parentc63ea36637ce956029fb15b1482c0683ecb8a587 (diff)
downloaddokka-6a181a7a2b03ec263788d137610e86937a57d434.tar.gz
dokka-6a181a7a2b03ec263788d137610e86937a57d434.tar.bz2
dokka-6a181a7a2b03ec263788d137610e86937a57d434.zip
Update copyright (#3149)
* Add the default copyright profile and enable IDEA project settings * Add the license notice file
Diffstat (limited to 'plugins/base/src/test/kotlin/linkableContent')
-rw-r--r--plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt b/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
index 6e11929d..504a1ebe 100644
--- a/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
+++ b/plugins/base/src/test/kotlin/linkableContent/LinkableContentTest.kt
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
package linkableContent
import org.jetbrains.dokka.SourceLinkDefinitionImpl
@@ -139,7 +143,7 @@ class LinkableContentTest : BaseAbstractTest() {
val signature = (it as? ClasslikePageNode)?.content?.dfs { it is ContentGroup && it.dci.kind == ContentKind.Symbol }.assertNotNull("signature")
val crl = signature.children.last().children[1] as? ContentResolvedLink
assertEquals(
- "https://github.com/user/repo/tree/master/src/${name.toLowerCase()}Main/kotlin/${name}Class.kt#L3",
+ "https://github.com/user/repo/tree/master/src/${name.toLowerCase()}Main/kotlin/${name}Class.kt#L7",
crl?.address
)
}