From b12d8878aa072e3c71f2a9204040da6bfa3e5a11 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Mon, 27 Jul 2020 23:42:07 +0200 Subject: Fix tests containing unresolved links --- .../jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/javadoc/src') diff --git a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt index 463ad7fd..1e161666 100644 --- a/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt +++ b/plugins/javadoc/src/test/kotlin/org/jetbrains/dokka/javadoc/JavadocClasslikeTemplateMapTest.kt @@ -93,7 +93,7 @@ internal class JavadocClasslikeTemplateMapTest : AbstractJavadocTemplateMapTest( 0, assertIsInstance>(method["parameters"]).size, "Expected no parameters" ) - assertEquals("final String", method.modifiers()) + assertEquals("final String", method.modifiers()) assertEquals("testFunction()", method.signatureWithoutModifiers()) } } @@ -257,19 +257,19 @@ internal class JavadocClasslikeTemplateMapTest : AbstractJavadocTemplateMapTest( assertParameterNode( node = first, expectedName = "simple", - expectedType = "String", + expectedType = "String", expectedDescription = "simple String parameter" ) assertParameterNode( node = second, expectedName = "parameters", - expectedType = "Integer", + expectedType = "Integer", expectedDescription = "simple Integer parameter" ) assertParameterNode( node = third, expectedName = "list", - expectedType = "Boolean", + expectedType = "Boolean", expectedDescription = "simple Boolean parameter" ) } @@ -305,7 +305,7 @@ internal class JavadocClasslikeTemplateMapTest : AbstractJavadocTemplateMapTest( assertEquals("Generic", map["name"]) assertEquals( - "public final class Generic<T extends Serializable>", + "public final class Generic<T extends Serializable>", map.signatureWithModifiers() ) val methods = assertIsInstance>(map["methods"]) -- cgit