File tree 3 files changed +6
-6
lines changed
cardano-api/test/cardano-api-test/Test/Cardano/Api
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ import Test.Tasty.Hedgehog (testProperty)
24
24
25
25
prop_roundtrip_shelley_address :: Property
26
26
prop_roundtrip_shelley_address =
27
- roundtrip_serialise_address AsShelleyAddress genAddressShelley
27
+ roundtrip_serialise_address ( AsAddress AsShelleyAddr ) genAddressShelley
28
28
29
29
prop_roundtrip_byron_address :: Property
30
30
prop_roundtrip_byron_address =
31
- roundtrip_serialise_address AsByronAddress genAddressByron
31
+ roundtrip_serialise_address ( AsAddress AsByronAddr ) genAddressByron
32
32
33
33
-- -----------------------------------------------------------------------------
34
34
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module Test.Cardano.Api.Bech32
3
3
)
4
4
where
5
5
6
- import Cardano.Api (AsType (AsShelleyAddress , AsStakeAddress ))
6
+ import Cardano.Api (AsType (AsAddress , AsShelleyAddr , AsStakeAddress ))
7
7
8
8
import Test.Gen.Cardano.Api.Typed (genAddressShelley , genStakeAddress )
9
9
@@ -13,7 +13,7 @@ import Test.Tasty (TestTree, testGroup)
13
13
import Test.Tasty.Hedgehog (testProperty )
14
14
15
15
prop_roundtrip_Address_Shelley :: Property
16
- prop_roundtrip_Address_Shelley = roundtrip_Bech32 AsShelleyAddress genAddressShelley
16
+ prop_roundtrip_Address_Shelley = roundtrip_Bech32 ( AsAddress AsShelleyAddr ) genAddressShelley
17
17
18
18
prop_roundtrip_StakeAddress :: Property
19
19
prop_roundtrip_StakeAddress = roundtrip_Bech32 AsStakeAddress genStakeAddress
Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ import Test.Tasty.Hedgehog (testProperty)
23
23
24
24
prop_roundtrip_shelley_address_raw :: Property
25
25
prop_roundtrip_shelley_address_raw =
26
- roundtrip_raw_bytes AsShelleyAddress genAddressShelley
26
+ roundtrip_raw_bytes ( AsAddress AsShelleyAddr ) genAddressShelley
27
27
28
28
prop_roundtrip_byron_address_raw :: Property
29
29
prop_roundtrip_byron_address_raw =
30
- roundtrip_raw_bytes AsByronAddress genAddressByron
30
+ roundtrip_raw_bytes ( AsAddress AsByronAddr ) genAddressByron
31
31
32
32
prop_roundtrip_stake_address_raw :: Property
33
33
prop_roundtrip_stake_address_raw =
You can’t perform that action at this time.
0 commit comments