Skip to content

Commit

Permalink
Fixes compile error with new HSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
solatis committed Mar 6, 2015
1 parent 9d2d310 commit 2349ddc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/Network/Anonymous/I2P/ProtocolSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ spec = do
it "should be able to create new destinations with all signature types" $
let createSession signatureType pair = P.version pair >> P.createSessionWith Nothing Nothing (Just signatureType) S.VirtualStream pair

performTest signatureType = P.connect "127.0.0.1" "7656" (createSession signatureType)
performTest signatureType = do
(sessionId, _) <- P.connect "127.0.0.1" "7656" (createSession signatureType)
(Uuid.fromString sessionId) `shouldSatisfy` isJust

sigTypes = [ D.DsaSha1
, D.EcdsaSha256P256
Expand Down

0 comments on commit 2349ddc

Please sign in to comment.