Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanLobbenmeier committed Mar 11, 2024
1 parent e72cffe commit 716d3e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class GithubReleaseDownloader(
) {
suspend fun downloadRelease(
assetName: String,
onProgress: suspend (UpdateDownloadProgress) -> Unit,
onProgress: suspend (UpdateDownloadProgress) -> Unit = {},
): File {
val httpClient = HttpClient { install(ContentNegotiation) { json(GithubJson) } }

Expand Down
2 changes: 1 addition & 1 deletion src/test/kotlin/de/lobbenmeier/stefan/ytdlp/YtDlpTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import io.kotest.core.spec.style.FunSpec
class YtDlpTest :
FunSpec({
test("download") {
val ytDlp = YtDlp(YtDlpConfiguration(), YtDlpVersion())
val ytDlp = YtDlp()

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

0 comments on commit 716d3e1

Please sign in to comment.