run formatter and linter

This commit is contained in:
fanghr 2022-05-04 22:15:30 +08:00
parent 0baf79924f
commit 07ff2168b8

View file

@ -10,7 +10,7 @@ module Spec.Governor (tests) where
import Agora.Governor (GovernorDatum (..), GovernorRedeemer (..)) import Agora.Governor (GovernorDatum (..), GovernorRedeemer (..))
import Agora.Governor.Scripts (governorPolicy, governorValidator) import Agora.Governor.Scripts (governorPolicy, governorValidator)
import Agora.Proposal (ProposalId (..)) import Agora.Proposal (ProposalId (..))
import Spec.Sample.Governor (mintGST, createProposal) import Spec.Sample.Governor (createProposal, mintGST)
import Spec.Sample.Shared qualified as Shared import Spec.Sample.Shared qualified as Shared
import Spec.Util (policySucceedsWith, validatorSucceedsWith) import Spec.Util (policySucceedsWith, validatorSucceedsWith)
import Test.Tasty (TestTree, testGroup) import Test.Tasty (TestTree, testGroup)
@ -33,7 +33,7 @@ tests =
"proposal creation" "proposal creation"
(governorValidator Shared.governor) (governorValidator Shared.governor)
(GovernorDatum Shared.defaultProposalThresholds (ProposalId 0)) (GovernorDatum Shared.defaultProposalThresholds (ProposalId 0))
(CreateProposal) CreateProposal
createProposal createProposal
] ]
] ]