Skip to content

Commit

Permalink
Fixed failing spec
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejbak85 committed Oct 28, 2020
1 parent 0610c32 commit 5530a8f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/it/scala/iog/psg/cardano/CardanoApiMainITSpec.scala
Expand Up @@ -372,11 +372,15 @@ class CardanoApiMainITSpec extends AnyFlatSpec with Matchers with Configure with

it should "show -netClockInfo help" in {
val results = runCmdLine(CmdLine.help, CmdLine.netClockInfo)
println(results.mkString("\n").stripMargin.trim)
results.mkString("\n").stripMargin.trim shouldBe """ Show network clock information
| [ https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getNetworkClock ]
|
| Arguments: [-forceNtpCheck <forceNtpCheck>]
|
| Examples:
| $CMDLINE -netClockInfo""".stripMargin.trim
| $CMDLINE -netClockInfo
| $CMDLINE -netClockInfo -forceNtpCheck true""".stripMargin.trim
}

it should "show -netParams help" in {
Expand Down

0 comments on commit 5530a8f

Please sign in to comment.