aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt')
-rw-r--r--plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt b/plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt
index bd8a79ef..1ea2adfd 100644
--- a/plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt
+++ b/plugins/base/src/test/kotlin/basic/FailOnWarningTest.kt
@@ -6,8 +6,8 @@ import org.jetbrains.dokka.testApi.logger.TestLogger
import org.jetbrains.dokka.utilities.DokkaConsoleLogger
import org.jetbrains.dokka.utilities.DokkaLogger
import org.jetbrains.dokka.utilities.LoggingLevel
-import org.junit.jupiter.api.Test
-import org.junit.jupiter.api.assertThrows
+import kotlin.test.Test
+import kotlin.test.assertFailsWith
class FailOnWarningTest : BaseAbstractTest() {
@@ -22,7 +22,7 @@ class FailOnWarningTest : BaseAbstractTest() {
}
}
- assertThrows<DokkaException> {
+ assertFailsWith<DokkaException> {
testInline(
"""
|/src/main/kotlin/Bar.kt
@@ -48,7 +48,7 @@ class FailOnWarningTest : BaseAbstractTest() {
}
}
- assertThrows<DokkaException> {
+ assertFailsWith<DokkaException> {
testInline(
"""
|/src/main/kotlin/Bar.kt