Skip to content

Commit 21b40c2

Browse files
committed
add test cases for StableHashable
1 parent ec4ab97 commit 21b40c2

File tree

3 files changed

+2347
-0
lines changed

3 files changed

+2347
-0
lines changed

pact.cabal

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ test-suite hspec
449449
, directory
450450
, errors
451451
, filepath
452+
, hashable
452453
, hspec
453454
, lens
454455
, mod
@@ -475,6 +476,7 @@ test-suite hspec
475476
Test.Pact.Native.Pairing
476477
Test.Pact.Parse
477478
Test.Pact.Utils.LegacyValue
479+
Test.Pact.Utils.StableHashMap
478480

479481
if flag(build-tool)
480482
cpp-options: -DBUILD_TOOL

tests/PactTests.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import qualified KeysetSpec
77
import qualified RoundTripSpec
88
import qualified PrincipalSpec
99
import qualified Test.Pact.Utils.LegacyValue
10+
import qualified Test.Pact.Utils.StableHashMap
1011
import qualified SizeOfSpec
1112
import qualified Test.Pact.Native.Pairing
1213

@@ -45,6 +46,7 @@ main = hspec $ parallel $ do
4546
describe "RoundTripSpec" RoundTripSpec.spec
4647
describe "PrincipalSpec" PrincipalSpec.spec
4748
describe "Test.Pact.Utils.LegacyValue" Test.Pact.Utils.LegacyValue.spec
49+
describe "Test.Pact.Utils.StableHashMap" Test.Pact.Utils.StableHashMap.spec
4850
describe "SizeOfSpec" SizeOfSpec.spec
4951
describe "Test.Pact.Native.Pairing" Test.Pact.Native.Pairing.spec
5052
describe "PactTestsSpec" PactTestsSpec.spec

0 commit comments

Comments
 (0)