Skip to content

Commit

Permalink
Wrap code to meet coding standards.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles committed May 23, 2019
1 parent a589009 commit 9eea6d3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/bech32/test/Codec/Binary/Bech32Spec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ spec = do
let expectedChecksum = Right $ B8.map toLower checksum
checksumEncoded `shouldBe` expectedChecksum

describe "Invalid Checksums" $ forM_ invalidChecksums $ \(checksum, expect) ->
it (B8.unpack checksum) $
Bech32.decode checksum `shouldBe` (Left expect)
describe "Invalid Checksums" $ forM_ invalidChecksums $
\(checksum, expect) ->
it (B8.unpack checksum) $
Bech32.decode checksum `shouldBe` (Left expect)

describe "More Encoding/Decoding Cases" $ do
it "length > maximum" $ do
Expand Down

0 comments on commit 9eea6d3

Please sign in to comment.