From 54df62709a37fc8f55bded26fd5db15f9eb0fd25 Mon Sep 17 00:00:00 2001 From: Andrzej Ratajczak Date: Tue, 18 Aug 2020 13:18:22 +0200 Subject: Hide unused generic type variables in constructor --- plugins/base/src/test/kotlin/basic/DRITest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/base/src/test/kotlin') diff --git a/plugins/base/src/test/kotlin/basic/DRITest.kt b/plugins/base/src/test/kotlin/basic/DRITest.kt index 353991ba..ba40a200 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).declarationDRI.toString()) + assertEquals(sampleClass.dri.first().toString(), (documentable.type as TypeParameter).dri.toString()) assertEquals(0, documentable.generics.size) } } -- cgit