Skip to content
Permalink
Browse files

hard-code version number in CLISpec

  • Loading branch information...
KtorZ committed May 16, 2019
1 parent 87286a5 commit 242c09d1e4b7fee45fbb130bb935905e9601713d
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/http-bridge/test/integration/Test/Integration/Scenario/CLISpec.hs
@@ -53,10 +53,8 @@ specNoCluster = do

it "CLI - Shows version" $ do
(Exit c, Stdout out) <- command [] "cardano-wallet" ["--version"]
cabal <- readFile "../../cardano-wallet.cabal"
let cabalVersion = words ((lines cabal) !! 1 ) !! 1
let returnedVersion = T.unpack $ T.dropEnd 1 (T.pack out)
returnedVersion `shouldBe` cabalVersion
let v = T.dropWhileEnd (== '\n') (T.pack out)
v `shouldBe` "2019.5.8"
c `shouldBe` ExitSuccess

it "CLI - Can generate mnemonics with default size" $ do

0 comments on commit 242c09d

Please sign in to comment.
You can’t perform that action at this time.