diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2023-08-30 15:58:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-30 15:58:46 +0200 |
commit | c63ea36637ce956029fb15b1482c0683ecb8a587 (patch) | |
tree | 2b75a8a976b43530820e73dc60cce4b10d9fc005 /runners/cli | |
parent | 0e00edc6fcd406fcf38673ef6a2f8f59e8374de2 (diff) | |
download | dokka-c63ea36637ce956029fb15b1482c0683ecb8a587.tar.gz dokka-c63ea36637ce956029fb15b1482c0683ecb8a587.tar.bz2 dokka-c63ea36637ce956029fb15b1482c0683ecb8a587.zip |
Migrate to JUnit 5 and unify used test API (#3138)
Diffstat (limited to 'runners/cli')
-rw-r--r-- | runners/cli/build.gradle.kts | 2 | ||||
-rw-r--r-- | runners/cli/src/test/kotlin/org/jetbrains/dokka/CliTest.kt | 3 |
2 files changed, 2 insertions, 3 deletions
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 |