diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 813f6e2821..2e1f9692ee 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" } 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() {