From fcb2f4ae72bdc62df37e61360d2d206c36717612 Mon Sep 17 00:00:00 2001 From: aSemy <897017+aSemy@users.noreply.github.com> Date: Tue, 25 Apr 2023 22:27:35 +0200 Subject: Tidy/remove unnecessary imports and suppressions (#2975) --- .../kotlin/org/jetbrains/dokka/it/gradle/ConfigurationTest.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'integration-tests') diff --git a/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/ConfigurationTest.kt b/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/ConfigurationTest.kt index 6a6ff86a..acb7c71e 100644 --- a/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/ConfigurationTest.kt +++ b/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/ConfigurationTest.kt @@ -1,5 +1,3 @@ -@file:Suppress("FunctionName") - package org.jetbrains.dokka.it.gradle import org.gradle.testkit.runner.TaskOutcome @@ -43,6 +41,7 @@ class ConfigurationTest(override val versions: BuildVersions) : AbstractGradleIn * and `failOnWarning` are enabled - it should fail */ @Test + @Suppress("FunctionName") fun `should fail with DokkaException and readable message if failOnWarning is triggered`() { val result = createGradleRunner( "-info", @@ -58,7 +57,7 @@ class ConfigurationTest(override val versions: BuildVersions) : AbstractGradleIn result.output.contains( """ FAILURE: Build failed with an exception\\. - + \* What went wrong: Execution failed for task ':dokkaHtml'\\. > Failed with warningCount=\d and errorCount=\d -- cgit