Skip to content

Commit 716d3e1

Browse files
fix tests
1 parent e72cffe commit 716d3e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/kotlin/de/lobbenmeier/stefan/update/github/GithubReleaseDownloader.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class GithubReleaseDownloader(
2020
) {
2121
suspend fun downloadRelease(
2222
assetName: String,
23-
onProgress: suspend (UpdateDownloadProgress) -> Unit,
23+
onProgress: suspend (UpdateDownloadProgress) -> Unit = {},
2424
): File {
2525
val httpClient = HttpClient { install(ContentNegotiation) { json(GithubJson) } }
2626

src/test/kotlin/de/lobbenmeier/stefan/ytdlp/YtDlpTest.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import io.kotest.core.spec.style.FunSpec
55
class YtDlpTest :
66
FunSpec({
77
test("download") {
8-
val ytDlp = YtDlp(YtDlpConfiguration(), YtDlpVersion())
8+
val ytDlp = YtDlp()
99

1010
ytDlp
1111
.createDownloadItem("https://www.youtube.com/watch?v=CBB75zjxTR4")

0 commit comments

Comments
 (0)