From 781d658478becc4f699acaf16c448eecdb0f9eb8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Jul 2023 22:52:41 +0000 Subject: [PATCH 1/2] Update dependency com.github.ajalt.clikt:clikt to v4 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 465f48b321..bccd9a6b17 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -55,7 +55,7 @@ okHttp-core = { module = "com.squareup.okhttp3:okhttp", version.ref = "okHttp" } okHttp-mockWebServer = { module = "com.squareup.okhttp3:mockwebserver", version.ref = "okHttp" } okio-core = { module = "com.squareup.okio:okio", version.ref = "okio" } okio-fakeFileSystem = { module = "com.squareup.okio:okio-fakefilesystem", version.ref = "okio" } -clikt = { module = "com.github.ajalt.clikt:clikt", version = "3.5.4" } +clikt = { module = "com.github.ajalt.clikt:clikt", version = "4.0.0" } shadowJar-gradle-plugin = { module = "gradle.plugin.com.github.johnrengelman:shadow", version = "8.0.0" } sqldelight-gradle-plugin = { module = "com.squareup.sqldelight:gradle-plugin", version.ref = "sqldelight" } sqldelight-driver-android = { module = "com.squareup.sqldelight:android-driver", version.ref = "sqldelight" } From 3d763b1a2faa9a9c5ffa5d8e67ea311fda078c45 Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Wed, 5 Jul 2023 11:01:46 -0400 Subject: [PATCH 2/2] Update assertion on missing options --- .../src/test/kotlin/app/cash/zipline/cli/DownloadTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zipline-cli/src/test/kotlin/app/cash/zipline/cli/DownloadTest.kt b/zipline-cli/src/test/kotlin/app/cash/zipline/cli/DownloadTest.kt index edd1f634f6..0a6319e811 100644 --- a/zipline-cli/src/test/kotlin/app/cash/zipline/cli/DownloadTest.kt +++ b/zipline-cli/src/test/kotlin/app/cash/zipline/cli/DownloadTest.kt @@ -38,21 +38,21 @@ class DownloadTest { val exception = assertFailsWith { runCommand("-D", TMP_DIR_PATH.toString(), "-M", "test.cash.app") } - assertEquals("Missing option \"--application-name\"", exception.message) + assertEquals("--application-name", exception.paramName) } @Test fun downloadMissingManifestUrl() { val exception = assertFailsWith { runCommand("-A", "app1", "-D", TMP_DIR_PATH.toString()) } - assertEquals("Missing option \"--manifest-url\"", exception.message) + assertEquals("--manifest-url", exception.paramName) } @Test fun downloadMissingDownloadDir() { val exception = assertFailsWith { runCommand("-A", "app1", "-M", "test.cash.app") } - assertEquals("Missing option \"--download-dir\"", exception.message) + assertEquals("--download-dir", exception.paramName) } @Test fun downloadFromMockWebServer() {