diff options
author | Marcin Aman <marcin.aman@gmail.com> | 2020-10-07 14:40:09 +0200 |
---|---|---|
committer | Kamil Doległo <9080183+kamildoleglo@users.noreply.github.com> | 2020-10-08 19:05:41 +0200 |
commit | 0d2ee179b6563020874db9f60906fb16b6ae1556 (patch) | |
tree | d55f43d48eea5966d312a8fe169cf1b493ce927d /integration-tests/gradle | |
parent | 4331d1b816c30731842ab36827bbc1a4a9b292b3 (diff) | |
download | dokka-0d2ee179b6563020874db9f60906fb16b6ae1556.tar.gz dokka-0d2ee179b6563020874db9f60906fb16b6ae1556.tar.bz2 dokka-0d2ee179b6563020874db9f60906fb16b6ae1556.zip |
Add information about content kind and sourceset to anchor
Diffstat (limited to 'integration-tests/gradle')
-rw-r--r-- | integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/BasicGradleIntegrationTest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/BasicGradleIntegrationTest.kt b/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/BasicGradleIntegrationTest.kt index 9da67fc3..33b4885e 100644 --- a/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/BasicGradleIntegrationTest.kt +++ b/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/BasicGradleIntegrationTest.kt @@ -111,7 +111,7 @@ class BasicGradleIntegrationTest(override val versions: BuildVersions) : Abstrac "Expected `SampleJavaClass` source link to GitHub" ) - val anchorsShouldNotHaveHashes = "data-name=\".*#.*\"".toRegex() + val anchorsShouldNotHaveHashes = "<a data-name=\".*#.*\"\\sanchor-label=\"*.*\">".toRegex() assertTrue( allHtmlFiles().all { file -> !anchorsShouldNotHaveHashes.containsMatchIn(file.readText()) |