Skip to content

Commit

Permalink
Move Cuddle spec to the testlib.
Browse files Browse the repository at this point in the history
  • Loading branch information
nc6 committed Jul 25, 2024
1 parent ce39bb6 commit d2ee81f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions eras/conway/impl/cardano-ledger-conway.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ flag asserts

library
exposed-modules:
Cardano.Ledger.Conway.CDDL
Cardano.Ledger.Conway.Genesis
Cardano.Ledger.Conway.Governance
Cardano.Ledger.Conway.Governance.DRepPulser
Expand Down Expand Up @@ -97,7 +96,6 @@ library
cardano-slotting,
cardano-strict-containers,
containers,
cuddle,
deepseq,
microlens,
nothunks,
Expand All @@ -117,6 +115,7 @@ library testlib
Test.Cardano.Ledger.Conway.Binary.Cddl
Test.Cardano.Ledger.Conway.Binary.RoundTrip
Test.Cardano.Ledger.Conway.Binary.Regression
Test.Cardano.Ledger.Conway.CDDL
Test.Cardano.Ledger.Conway.ImpTest
Test.Cardano.Ledger.Conway.Imp
Test.Cardano.Ledger.Conway.Imp.BbodySpec
Expand Down Expand Up @@ -146,6 +145,7 @@ library testlib
bytestring,
cardano-data:{cardano-data, testlib},
containers,
cuddle,
plutus-ledger-api,
deepseq,
microlens,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Cardano.Ledger.Allegra.Scripts
import Cardano.Ledger.Alonzo.Scripts (CostModels)
import Cardano.Ledger.Alonzo.TxWits (Redeemers)
import Cardano.Ledger.Conway (Conway)
import qualified Cardano.Ledger.Conway.CDDL as ConwayCDDL
import Cardano.Ledger.Conway.Governance (GovAction, ProposalProcedure, VotingProcedure)
import Cardano.Ledger.Core
import Cardano.Ledger.Plutus.Data (Data, Datum)
Expand All @@ -23,6 +22,7 @@ import Test.Cardano.Ledger.Binary.Cuddle (
)
import Test.Cardano.Ledger.Common
import Test.Cardano.Ledger.Conway.Binary.Cddl (readConwayCddlFiles)
import qualified Test.Cardano.Ledger.Conway.CDDL as ConwayCDDL

spec :: Spec
spec = do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{-# HLINT ignore "Use camelCase" #-}
{-# HLINT ignore "Evaluate" #-}

module Cardano.Ledger.Conway.CDDL (conway) where
module Test.Cardano.Ledger.Conway.CDDL (conway) where

import Codec.CBOR.Cuddle.Huddle
import Data.Function (($))
Expand Down

0 comments on commit d2ee81f

Please sign in to comment.