aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/basic
diff options
context:
space:
mode:
authorAndrzej Ratajczak <andrzej.ratajczak98@gmail.com>2020-08-19 12:57:38 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-08-20 15:36:07 +0200
commit45bec5b68c2da35860877c6298bff04a4cb3d1d6 (patch)
treed99b27e6c6100ef93c2989caac66b55ef3ba3e21 /plugins/base/src/test/kotlin/basic
parente4fc2c274fd982b2742eac46581b504b56b2b48f (diff)
downloaddokka-45bec5b68c2da35860877c6298bff04a4cb3d1d6.tar.gz
dokka-45bec5b68c2da35860877c6298bff04a4cb3d1d6.tar.bz2
dokka-45bec5b68c2da35860877c6298bff04a4cb3d1d6.zip
Fix LinkProvider to link properly all nested generic parameters
Diffstat (limited to 'plugins/base/src/test/kotlin/basic')
-rw-r--r--plugins/base/src/test/kotlin/basic/DRITest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/basic/DRITest.kt b/plugins/base/src/test/kotlin/basic/DRITest.kt
index ba40a200..7083609a 100644
--- a/plugins/base/src/test/kotlin/basic/DRITest.kt
+++ b/plugins/base/src/test/kotlin/basic/DRITest.kt
@@ -271,7 +271,7 @@ class DRITest : AbstractCoreTest() {
val foo = sampleInner.children.first { it.name == "foo" } as MemberPageNode
val documentable = foo.documentable as DFunction
- assertEquals(sampleClass.dri.first().toString(), (documentable.type as TypeParameter).dri.toString())
+ assertEquals((sampleClass.documentable as WithGenerics).generics.first().dri.toString(), (documentable.type as TypeParameter).dri.toString())
assertEquals(0, documentable.generics.size)
}
}