add Spec.Utils to test utils in Agora.Utils
This commit is contained in:
parent
25d011ed00
commit
d43bf6cde4
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.Proposal qualified as Proposal
|
||||||
import Spec.Stake qualified as Stake
|
import Spec.Stake qualified as Stake
|
||||||
import Spec.Treasury qualified as Treasury
|
import Spec.Treasury qualified as Treasury
|
||||||
|
import Spec.Utils qualified as Utils
|
||||||
|
|
||||||
-- | The Agora test suite.
|
-- | The Agora test suite.
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
|
|
@ -37,6 +38,12 @@ main =
|
||||||
, testGroup
|
, testGroup
|
||||||
"Treasury tests"
|
"Treasury tests"
|
||||||
Treasury.tests
|
Treasury.tests
|
||||||
|
, testGroup
|
||||||
|
"AuthorityToken tests"
|
||||||
|
AuthorityToken.tests
|
||||||
|
, testGroup
|
||||||
|
"Utility functions tests"
|
||||||
|
Utils.tests
|
||||||
, testGroup
|
, testGroup
|
||||||
"Multisig tests"
|
"Multisig tests"
|
||||||
[ testGroup
|
[ 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.Proposal
|
||||||
Spec.Stake
|
Spec.Stake
|
||||||
Spec.Treasury
|
Spec.Treasury
|
||||||
|
Spec.Utils
|
||||||
|
|
||||||
build-depends:
|
build-depends:
|
||||||
, agora
|
, agora
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue