Skip to content

Commit

Permalink
add test cases for StableHashable
Browse files Browse the repository at this point in the history
  • Loading branch information
larskuhtz committed Nov 1, 2024
1 parent ec4ab97 commit 21b40c2
Show file tree
Hide file tree
Showing 3 changed files with 2,347 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pact.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ test-suite hspec
, directory
, errors
, filepath
, hashable
, hspec
, lens
, mod
Expand All @@ -475,6 +476,7 @@ test-suite hspec
Test.Pact.Native.Pairing
Test.Pact.Parse
Test.Pact.Utils.LegacyValue
Test.Pact.Utils.StableHashMap

if flag(build-tool)
cpp-options: -DBUILD_TOOL
Expand Down
2 changes: 2 additions & 0 deletions tests/PactTests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import qualified KeysetSpec
import qualified RoundTripSpec
import qualified PrincipalSpec
import qualified Test.Pact.Utils.LegacyValue
import qualified Test.Pact.Utils.StableHashMap
import qualified SizeOfSpec
import qualified Test.Pact.Native.Pairing

Expand Down Expand Up @@ -45,6 +46,7 @@ main = hspec $ parallel $ do
describe "RoundTripSpec" RoundTripSpec.spec
describe "PrincipalSpec" PrincipalSpec.spec
describe "Test.Pact.Utils.LegacyValue" Test.Pact.Utils.LegacyValue.spec
describe "Test.Pact.Utils.StableHashMap" Test.Pact.Utils.StableHashMap.spec
describe "SizeOfSpec" SizeOfSpec.spec
describe "Test.Pact.Native.Pairing" Test.Pact.Native.Pairing.spec
describe "PactTestsSpec" PactTestsSpec.spec
Expand Down
Loading

0 comments on commit 21b40c2

Please sign in to comment.