Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ object Dependencies {
val JwtCoreVersion = "11.0.4"
val NettyVersion = "4.2.12.Final"
val ScalaCompatCollectionVersion = "2.14.0"
val ZioVersion = "2.1.24"
val ZioVersion = "2.1.25"
val ZioCliVersion = "0.8.0"
val ZioJsonVersion = "0.9.1"
val ZioSchemaVersion = "1.8.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,15 @@ object CliSpec extends ZIOSpecDefault {
check(EndpointGen.anyCliEndpoint) { case CliRepr(endpoint, repr) =>
assertTrue(endpoint == repr)
}
},
} @@ samples(20) @@ timeout(60.seconds),
test("CliEndpoint generates correct Options") {
check(OptionsGen.anyCliEndpoint) { case CliRepr(options, repr) =>
assertTrue(
HttpCommand.addOptionsTo(repr).helpDoc.toPlaintext() == options.helpDoc.toPlaintext()
&& HttpCommand.addOptionsTo(repr).uid == options.uid,
)
}
},
} @@ samples(20) @@ timeout(60.seconds),
test("fromEndpoints generates correct Command") {
check(CommandGen.anyEndpoint) { case CliRepr(endpoint, helpDoc) =>
val command = HttpCommand.fromEndpoints("cli", Chunk(endpoint), cliStyle = true)
Expand Down
Loading