From c63ea36637ce956029fb15b1482c0683ecb8a587 Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Wed, 30 Aug 2023 15:58:46 +0200 Subject: Migrate to JUnit 5 and unify used test API (#3138) --- runners/cli/build.gradle.kts | 2 +- runners/cli/src/test/kotlin/org/jetbrains/dokka/CliTest.kt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'runners/cli') diff --git a/runners/cli/build.gradle.kts b/runners/cli/build.gradle.kts index 3afd27fc..96fa159c 100644 --- a/runners/cli/build.gradle.kts +++ b/runners/cli/build.gradle.kts @@ -11,7 +11,7 @@ dependencies { implementation(projects.core) implementation(libs.kotlinx.cli) - testImplementation(kotlin("test-junit")) + testImplementation(kotlin("test")) } tasks { diff --git a/runners/cli/src/test/kotlin/org/jetbrains/dokka/CliTest.kt b/runners/cli/src/test/kotlin/org/jetbrains/dokka/CliTest.kt index 557fe36b..808c920d 100644 --- a/runners/cli/src/test/kotlin/org/jetbrains/dokka/CliTest.kt +++ b/runners/cli/src/test/kotlin/org/jetbrains/dokka/CliTest.kt @@ -1,8 +1,7 @@ package org.jetbrains.dokka -import org.junit.Test -import java.lang.IllegalStateException import java.nio.file.Paths +import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertTrue -- cgit