add Spec.Utils to test utils in Agora.Utils
This commit is contained in:
parent
283edd64b7
commit
615f890745
3 changed files with 21 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ import Spec.Model.MultiSig qualified as MultiSig
|
|||
import Spec.Proposal qualified as Proposal
|
||||
import Spec.Stake qualified as Stake
|
||||
import Spec.Treasury qualified as Treasury
|
||||
import Spec.Utils qualified as Utils
|
||||
|
||||
-- | The Agora test suite.
|
||||
main :: IO ()
|
||||
|
|
@ -37,6 +38,12 @@ main =
|
|||
, testGroup
|
||||
"Treasury tests"
|
||||
Treasury.tests
|
||||
, testGroup
|
||||
"AuthorityToken tests"
|
||||
AuthorityToken.tests
|
||||
, testGroup
|
||||
"Utility functions tests"
|
||||
Utils.tests
|
||||
, testGroup
|
||||
"Multisig tests"
|
||||
[ testGroup
|
||||
|
|
|
|||
13
agora-test/Spec/Utils.hs
Normal file
13
agora-test/Spec/Utils.hs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{- |
|
||||
Module : Spec.Utils
|
||||
Maintainer : emi@haskell.fyi
|
||||
Description: Tests for utility functions in 'Agora.Utils'.
|
||||
|
||||
Tests for utility functions in 'Agora.Utils'.
|
||||
-}
|
||||
module Spec.Utils (tests) where
|
||||
|
||||
import Test.Tasty (TestTree)
|
||||
|
||||
tests :: [TestTree]
|
||||
tests = []
|
||||
|
|
@ -184,6 +184,7 @@ test-suite agora-test
|
|||
Spec.Proposal
|
||||
Spec.Stake
|
||||
Spec.Treasury
|
||||
Spec.Utils
|
||||
|
||||
build-depends:
|
||||
, agora
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue