Skip to content

Commit bba1a63

Browse files
committed
fail test when file not exist
1 parent 5e80127 commit bba1a63

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dokka-aws/src/test/kotlin/aws/sdk/kotlin/dokka/DokkaAwsTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ class DokkaAwsTest {
1717
fun testLoadScripts() {
1818
val testFile = File("build/dokka/html/index.html")
1919

20-
assumeTrue(
20+
assertTrue(
2121
testFile.exists(),
22-
"Skipping test: test file does not exist",
22+
"Test file does not exist: ${testFile.absolutePath}"
2323
)
2424

2525
val document = Jsoup.parse(testFile, "UTF-8")

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ kotlinx-benchmark-version = "0.4.12"
2626
kotlinx-serialization-version = "1.7.3"
2727
mockk-version = "1.13.13"
2828
slf4j-version = "2.0.16"
29-
jsoup-version = "1.19.1"
29+
jsoup-version = "1.20.1"
3030

3131
[libraries]
3232
aws-kotlin-repo-tools-build-support = { module="aws.sdk.kotlin.gradle:build-support", version.ref = "aws-kotlin-repo-tools-version" }

0 commit comments

Comments
 (0)