Skip to content

Commit

Permalink
Add json roundtrip tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundnoble committed Dec 14, 2023
1 parent 828cf35 commit 87c14cd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/Test/Pact/Utils/LegacyValue.hs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ import Pact.Types.SigData
import Pact.Types.SPV
import Pact.Types.SQLite
import Pact.Types.Term.Arbitrary ()
import Pact.Types.Verifier
import Pact.PersistPactDb

import qualified Pact.JSON.Encode as J
Expand Down Expand Up @@ -1039,6 +1040,12 @@ spec_pact_types_command =
, Case checkAesonCompat
, Case checkLegacyValueCompat
]
spec_case @(Verifier ParsedVerifierArgs)
[ Case checkRoundtrip
, Case checkRoundtrip2
, Case checkAesonCompat
, Case checkLegacyValueCompat
]

-- ---------------------------------------------- --
spec_pact_types_sigdata :: Spec
Expand Down

0 comments on commit 87c14cd

Please sign in to comment.