Skip to content

Commit

Permalink
Sort keys in json tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Apr 16, 2021
1 parent 4b83eeb commit 2c369aa
Show file tree
Hide file tree
Showing 7 changed files with 1,105 additions and 1,105 deletions.
2 changes: 1 addition & 1 deletion core/test/Cardano/Address/Style/ShelleySpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ testVectors mnemonic = describe (show $ T.unpack <$> mnemonic) $ do
(pShowOpt defaultOutputOptionsNoColor vec)
it "should inspect correctly" $ do
goldenByteStringLazy ("inspects" <> T.intercalate "_" mnemonic)
(Aeson.encodePretty $ genericToJSON defaultOptions $ toInspect <$> inspectVec)
(Aeson.encodePretty' (Aeson.defConfig { Aeson.confCompare = compare }) $ genericToJSON defaultOptions $ toInspect <$> inspectVec)
where
getExtendedKeyAddr = unsafeMkAddress . xprvToBytes . getKey
getPublicKeyAddr = unsafeMkAddress . xpubToBytes . getKey
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 2c369aa

Please sign in to comment.